Files
the-way-to-go_ZH_CN/eBook/02.6.md
2013-04-12 11:30:25 -04:00

20 lines
853 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#2.6 安装目录清单
你的 Go 安装目录(`$GOROOT`)的文件夹结构应该如下所示:
README, AUTHORS, CONTRIBUTORS, LICENSE
- `\bin` 包含可执行文件编译器Go 工具
- `\doc` 包含示例程序,代码工具,本地文档等
- `\include` 包含 C/C++ 头文件
- `\lib` 包含文档模版
- `\misc` 包含与支持 Go 编辑器有关的配置文件以及 cgo 的示例
- `\pkg\os_arch` 包含标准库的包的对象文件(`.a`
- `\src` 包含源代码构建脚本
- `\src\cmd` 包含 Go 和 C 的编译器和命令行脚本
- `\src\lib9` `\src\libbio` `\src\libmach` 包含 C 文件
- `\src\pkg` 包含 Go 标准库的包的完整源代码Go 是一门开源语言)
##链接
- [目录](directory.md)
- 上一节:[在 Windows 上安装 Go](02.5.md)
- 下一节:[Go 类虚拟机runtime](02.7.md)