Garbage collection and correct usage of pointers in Go
问题 I come from a Python/Ruby/JavaScript background. I understand how pointers work, however, I'm not completely sure how to leverage them in the following situation. Let's pretend we have a fictitious web API that searches some image database and returns a JSON describing what's displayed in each image that was found: [ { "url": "https://c8.staticflickr.com/4/3707/11603200203_87810ddb43_o.jpg", "description": "Ocean islands", "tags": [ {"name":"ocean", "rank":1}, {"name":"water", "rank":2}, {