Golang经典面试题下

1. 下面代码能运行吗?为何 type Param map[string]interface{} type Show struct { Param } func main1() { s := new(Show) s.Param["RMB"] = 10000 } 运行结果:css panic: assignment to entry in nil map gorouti
相关文章
相关标签/搜索