modified: eBook/18.1.md

modified:   eBook/18.10.md
	modified:   eBook/18.11.md
	modified:   eBook/18.2.md
	modified:   eBook/18.3.md
	modified:   eBook/18.4.md
	modified:   eBook/18.5.md
	modified:   eBook/18.6.md
	modified:   eBook/18.7.md
	modified:   eBook/18.8.md
	modified:   eBook/18.9.md
This commit is contained in:
songleo
2016-01-03 21:47:46 +08:00
parent 706c594a7e
commit 8fdcfd3776
11 changed files with 33 additions and 35 deletions

View File

@@ -2,7 +2,7 @@
创建: `map1 := make(map[keytype]valuetype)`
初始化: `map1 := map[string]int{"one": 1, "two": 2}`
初始化 `map1 := map[string]int{"one": 1, "two": 2}`
1如何使用`for`或者`for-range`遍历一个映射:
@@ -25,5 +25,5 @@ for key, value := range map1 {
## 链接
- [目录](directory.md)
- 上一章:[运算符模板和接口](17.4.md)
- 下一节:[字符串](18.1.md)
- 上一章:[数组和切片](18.2.md)
- 下一节:[结构体](18.4.md)