mirror of
https://github.com/unknwon/the-way-to-go_ZH_CN.git
synced 2025-08-19 03:50:11 +08:00
modified: eBook/18.1.md
modified: eBook/18.10.md modified: eBook/18.2.md modified: eBook/18.3.md modified: eBook/18.6.md modified: eBook/18.8.md modified: eBook/18.9.md
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
# 18.3 映射
|
||||
|
||||
创建: `map1 := make(map[keytype]valuetype)`
|
||||
|
||||
初始化: `map1 := map[string]int{"one": 1, "two": 2}`
|
||||
|
||||
(1)如何使用`for`或者`for-range`遍历一个映射:
|
||||
|
Reference in New Issue
Block a user