anaconda icon indicating copy to clipboard operation
anaconda copied to clipboard

Use `go generate` to generate struct definitions automatically

Open ChimeraCoder opened this issue 11 years ago • 0 comments

With Go 1.4, the go generate command was added, which allows us to tie in gojson more cleanly. (gojson is the same tool that was being used previously, just informally).

Automatically generating the struct definitions is more robust, cleaner, less error-prone, and also makes it easier for us to update the library if the API changes at any point in the future.

ChimeraCoder avatar Dec 24 '14 16:12 ChimeraCoder