# \[2 Go内部机制]

- [02.1 本章概述](https://wskdsgcf.gitbook.io/mastering-go-zh-cn/2-go-nei-bu-ji-zhi/02.1.md)
- [02.2 编译器](https://wskdsgcf.gitbook.io/mastering-go-zh-cn/2-go-nei-bu-ji-zhi/02.2.md)
- [02.3 垃圾回收](https://wskdsgcf.gitbook.io/mastering-go-zh-cn/2-go-nei-bu-ji-zhi/02.3.md)
- [02.3.1 三色算法](https://wskdsgcf.gitbook.io/mastering-go-zh-cn/2-go-nei-bu-ji-zhi/02.3/02.3.1.md)
- [02.3.2 垃圾回收器背后的更多操作](https://wskdsgcf.gitbook.io/mastering-go-zh-cn/2-go-nei-bu-ji-zhi/02.3/02.3.2.md)
- [02.3.3 Unsafe code](https://wskdsgcf.gitbook.io/mastering-go-zh-cn/2-go-nei-bu-ji-zhi/02.3/02.3.3.md)
- [02.3.4 关于unsafe包](https://wskdsgcf.gitbook.io/mastering-go-zh-cn/2-go-nei-bu-ji-zhi/02.3/02.3.4.md)
- [02.3.5 另一个usafe包的例子](https://wskdsgcf.gitbook.io/mastering-go-zh-cn/2-go-nei-bu-ji-zhi/02.3/02.3.5.md)
- [02.5 C中调用Go函数](https://wskdsgcf.gitbook.io/mastering-go-zh-cn/2-go-nei-bu-ji-zhi/02.5.md)
- [02.5.1 Go Package](https://wskdsgcf.gitbook.io/mastering-go-zh-cn/2-go-nei-bu-ji-zhi/02.5/02.5.1.md)
- [02.5.2 C代码](https://wskdsgcf.gitbook.io/mastering-go-zh-cn/2-go-nei-bu-ji-zhi/02.5/02.5.2.md)
- [02.6 defer关键字](https://wskdsgcf.gitbook.io/mastering-go-zh-cn/2-go-nei-bu-ji-zhi/02.6.md)
- [02.7 Panic和Recover](https://wskdsgcf.gitbook.io/mastering-go-zh-cn/2-go-nei-bu-ji-zhi/02.7.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wskdsgcf.gitbook.io/mastering-go-zh-cn/2-go-nei-bu-ji-zhi.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
