Accessing objects in a map pointer in golang, does the dereferencing causes a copy of the map?

前端 未结 0 1434
清歌不尽
清歌不尽 2020-12-04 00:19

In my code I create a map pointer which I then dereference to retrieve an item.

a := "...big JSON string..."
b := map[string]B{}
json.Unmarshal(a, &         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题