原因:Go 中变量的传递都是值传递, 都是 copy 过的, 所以从 map 中拿到的 value, 并不能获取真正的内存地址 解决方法:value 改为地址: map[string]*[2]int{}map[string] = &[2]int{ 0, 0 } map[string][0] ++