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
相關文章
相關標籤/搜索