cloudaice / learnGo

there are something about Go Useage
MIT License
0 stars 0 forks source link

嵌套map声明和使用方法 #4

Open cloudaice opened 11 years ago

cloudaice commented 11 years ago
data := make(map[string]map[string]map[string]int)
data["hello"] = make(map[string]map[string]int)
data["hello"]["world"] = make(map[string]int)
data["hello"]["world"]["good"] = "hello world"