3 ms·
Then you can go ahead and use one of the many code generation libraries out there to handle it for you in a type-safe way. Here are three options that were on
by fwip 6y ago
Then you can go ahead and use one of the many code generation libraries out there to handle it for you in a type-safe way.
Here are three options that were on the first page of google:
* https://github.com/kulshekhar/fungen https://github.com/kulshekhar/fungen
* https://github.com/awalterschulze/goderive https://github.com/awalterschulze/goderive
* https://github.com/cheekybits/genny https://github.com/cheekybits/genny