# 安装目录清单

你的 Go 安装目录（`$GOROOT`）的文件夹结构应该如下所示：

README.md, AUTHORS, CONTRIBUTORS, LICENSE

* `/bin`：包含可执行文件，如：编译器，Go 工具
* `/doc`：包含示例程序，代码工具，本地文档等
* `/lib`：包含文档模版
* `/misc`：包含与支持 Go 编辑器有关的配置文件以及 cgo 的示例
* `/os_arch`：包含标准库的包的对象文件（`.a`）
* `/src`：包含源代码构建脚本和标准库的包的完整源代码（Go 是一门开源语言）
* `/src/cmd`：包含 Go 和 C 的编译器和命令行脚本

## 链接

* [目录](https://github.com/yangchuansheng/the-way-to-go_ZH_CN/tree/f30ab7d8c58f85840a0afb548024b93642b518d5/eBook/directory.md)
* 上一节：[在 Windows 上安装 Go](/the-way-to-go-zh-cn/di-yi-bu-fen-xue-xi-go-yu-yan/di-2-zhang-an-zhuang-yu-yun-hang-huan-jing/02.5.md)
* 下一节：[Go 运行时（runtime）](/the-way-to-go-zh-cn/di-yi-bu-fen-xue-xi-go-yu-yan/di-2-zhang-an-zhuang-yu-yun-hang-huan-jing/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://ryanyang.gitbook.io/the-way-to-go-zh-cn/di-yi-bu-fen-xue-xi-go-yu-yan/di-2-zhang-an-zhuang-yu-yun-hang-huan-jing/02.6.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.
