JSON to Go structure

If you ever tried to use a complex JSON record in your Go code, you know how tricky it can be to create the require Go structure for supporting that complex JSON record. Well, there is a utility that can help you with that.

According to the documentation found in the web site of the utility:

This tool instantly converts JSON into a Go type definition. Paste a JSON structure on the left and the equivalent Go type will be generated to the right, which you can paste into your program. The script has to make some assumptions, so double-check the output!

You can find that handy web site at https://mholt.github.io/json-to-go/.