Passing pointers to Maps in Golang. The easiest solution is to define the map as: map[string]*MyInnerStruct, This way, ms.inners["a"] ...
確定! 回上一頁