Fix links to the code examples

Change-Id: I644c6a516abab2577353644c128102457deeb41a
This commit is contained in:
Guobiao Mei
2014-12-18 16:49:46 -05:00
parent 6278195f5f
commit 07d26e14d1
16 changed files with 33 additions and 33 deletions

View File

@@ -49,7 +49,7 @@ slice 在内存中的组织方式实际上是一个有 3 个域的结构体:
![](images/7.2_fig7.2.png?raw=true)
示例 7.7 [array_slices.go](exmaples/chapter_7/array_slices.go)
示例 7.7 [array_slices.go](examples/chapter_7/array_slices.go)
package main
import "fmt"
@@ -142,7 +142,7 @@ make 的使用方式是:`func make([]T, len, cap)` 其中 cap 是可选参数
下图描述了使用 make 方法生成的 slice 的内存结构![](images/7.2_fig7.2.1.png?raw=true)
示例 7.8 [make_slice.go](exmaples/chapter_7/make_slice.go)
示例 7.8 [make_slice.go](examples/chapter_7/make_slice.go)
package main
import "fmt"
@@ -260,4 +260,4 @@ Buffer 可以这样定义:`var buffer bytes.Buffer`
- [目录](directory.md)
- 上一节[声明和初始化](07.1.md)
- 下一节[For-range 结构](07.3.md)
- 下一节[For-range 结构](07.3.md)