> For the complete documentation index, see [llms.txt](https://eddycjy.gitbook.io/golang/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://eddycjy.gitbook.io/golang/di-1-ke-za-tan.md).

# 第1课 杂谈

- [1.1 聊一聊，Go 的相对路径问题](https://eddycjy.gitbook.io/golang/di-1-ke-za-tan/golang-relatively-path.md)
- [1.2 Go 的 fake-useragent 了解一下](https://eddycjy.gitbook.io/golang/di-1-ke-za-tan/go-fake-useragent.md)
- [1.3 用 Go 来了解一下 Redis 通讯协议](https://eddycjy.gitbook.io/golang/di-1-ke-za-tan/go-redis-protocol.md)
- [1.4 使用 Gomock 进行单元测试](https://eddycjy.gitbook.io/golang/di-1-ke-za-tan/gomock.md)
- [1.5 在 Go 中恰到好处的内存对齐](https://eddycjy.gitbook.io/golang/di-1-ke-za-tan/go-memory-align.md)
- [1.6 来，控制一下 goroutine 的并发数量](https://eddycjy.gitbook.io/golang/di-1-ke-za-tan/control-goroutine.md)
- [1.7 for-loop 与 json.Unmarshal 性能分析概要](https://eddycjy.gitbook.io/golang/di-1-ke-za-tan/for-loop-json-unmarshal.md)
- [1.8 简单围观一下有趣的 //go: 指令](https://eddycjy.gitbook.io/golang/di-1-ke-za-tan/go-ins.md)
- [1.9 我要在栈上。不，你应该在堆上](https://eddycjy.gitbook.io/golang/di-1-ke-za-tan/stack-heap.md)
- [1.10 defer 会有性能损耗，尽量不要用](https://eddycjy.gitbook.io/golang/di-1-ke-za-tan/defer-loss.md)
- [1.11 从实践到原理，带你参透 gRPC](https://eddycjy.gitbook.io/golang/di-1-ke-za-tan/talking-grpc.md)
- [1.12 Go1.13 defer 的性能是如何提高的？](https://eddycjy.gitbook.io/golang/di-1-ke-za-tan/go1.13-defer.md)
- [1.13 Go 应用内存占用太多，让排查？（VSZ篇）](https://eddycjy.gitbook.io/golang/di-1-ke-za-tan/why-vsz-large.md)
- [1.14 干货满满的 Go Modules 和 goproxy.cn](https://eddycjy.gitbook.io/golang/di-1-ke-za-tan/goproxy-cn.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://eddycjy.gitbook.io/golang/di-1-ke-za-tan.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
