记一次坑爹的golang 二维map判断问题
现象贴代码:var PeopleLimit =make(map[string]map[string]int64)func foo(arr1,arr2 string){ if x,ok := PeopleLimit[arr1][arr2];ok{ fmt.Println(" ok") fmt.Println(x) }else{ PeopleLimit[arr1] = mak...
原创
2018-10-18 23:16:21 ·
2511 阅读 ·
0 评论