Add New Fields to Struct Types from JSON
Add new fields in your API objects just with copy-paste.
Copy a part of the JSON data in the clipboard then paste it inside an existing struct tag.
When the IDE asks you about converting the JSON to a Go type, press Yes and you are done with .