Skip to content

Commit 44bbc52

Browse files
committed
精校:2.6
1 parent e9ec472 commit 44bbc52

File tree

4 files changed

+12
-15
lines changed

4 files changed

+12
-15
lines changed

eBook/02.6.md

+9-12
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,18 @@
22

33
你的 Go 安装目录(`$GOROOT`)的文件夹结构应该如下所示:
44

5-
README, AUTHORS, CONTRIBUTORS, LICENSE
5+
README.md, AUTHORS, CONTRIBUTORS, LICENSE
66

7-
- `\bin` 包含可执行文件,如:编译器,Go 工具
8-
- `\doc` 包含示例程序,代码工具,本地文档等
9-
- `\include` 包含 C/C++ 头文件
10-
- `\lib` 包含文档模版
11-
- `\misc` 包含与支持 Go 编辑器有关的配置文件以及 cgo 的示例
12-
- `\pkg\os_arch` 包含标准库的包的对象文件(`.a`
13-
- `\src` 包含源代码构建脚本
14-
- `\src\cmd` 包含 Go 和 C 的编译器和命令行脚本
15-
- `\src\lib9` `\src\libbio` `\src\libmach` 包含 C 文件
16-
- `\src\pkg` 包含 Go 标准库的包的完整源代码(Go 是一门开源语言)
7+
- `/bin`:包含可执行文件,如:编译器,Go 工具
8+
- `/doc`:包含示例程序,代码工具,本地文档等
9+
- `/lib`:包含文档模版
10+
- `/misc`:包含与支持 Go 编辑器有关的配置文件以及 cgo 的示例
11+
- `/os_arch`:包含标准库的包的对象文件(`.a`
12+
- `/src`:包含源代码构建脚本和标准库的包的完整源代码(Go 是一门开源语言)
13+
- `/src/cmd`:包含 Go 和 C 的编译器和命令行脚本
1714

1815
## 链接
1916

2017
- [目录](directory.md)
2118
- 上一节:[在 Windows 上安装 Go](02.5.md)
22-
- 下一节:[Go 类虚拟机(runtime)](02.7.md)
19+
- 下一节:[Go 运行时(runtime)](02.7.md)

eBook/02.7.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 2.7 Go runtime
1+
# 2.7 Go 运行时(runtime
22

33
尽管 Go 编译器产生的是本地可执行代码,这些代码仍旧运行在 Go 的 runtime(这部分的代码可以在 runtime 包中找到)当中。这个 runtime 类似 Java 和 .NET 语言所用到的虚拟机,它负责管理包括内存分配、垃圾回收(第 10.8 节)、栈处理、goroutine、channel、切片(slice)、map 和反射(reflection)等等。
44

eBook/02.8.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@
55
## 链接
66

77
- [目录](directory.md)
8-
- 上一节:[Go 类虚拟机(runtime)](02.7.md)
8+
- 上一节:[Go 运行时(runtime)](02.7.md)
99
- 下一章:[编辑器、集成开发环境与其它工具](03.0.md)

eBook/directory.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
- 2.4 [在 Mac OS X 上安装 Go](02.4.md)
1414
- 2.5 [在 Windows 上安装 Go](02.5.md)
1515
- 2.6 [安装目录清单](02.6.md)
16-
- 2.7 [Go 类虚拟机(runtime)](02.7.md)
16+
- 2.7 [Go 运行时(runtime)](02.7.md)
1717
- 2.8 [Go 解释器](02.8.md)
1818
- 第3章:[编辑器、集成开发环境与其它工具](03.0.md)
1919
- 3.1 [Go 开发环境的基本要求](03.1.md)

0 commit comments

Comments
 (0)