mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-12 00:11:36 +08:00
Fix links to the code examples
Change-Id: I644c6a516abab2577353644c128102457deeb41a
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#8.3 map分片
|
||||
假设我们想获取一个map的分片,我们必须使用两次make()方法,第一次分配slice,第二次分配slice的每个map元素(参见下面的例子8.3)。
|
||||
|
||||
示例 8.3 [maps_forrange.go](exmaples/chapter_8/maps_forrange.go)
|
||||
示例 8.3 [maps_forrange.go](examples/chapter_8/maps_forrange.go)
|
||||
|
||||
package main
|
||||
import "fmt"
|
||||
@@ -34,4 +34,4 @@
|
||||
##链接
|
||||
- [目录](directory.md)
|
||||
- 上一节:[for循环构造方法](08.3.md)
|
||||
- 下一节:[map排序](08.5.md)
|
||||
- 下一节:[map排序](08.5.md)
|
||||
|
Reference in New Issue
Block a user