3 ms·
Jennifer helps you generate complex Go code without messy text templates. Imports are handled automatically, and your generator code is neat and organised.
by davelondon 10y ago
Jennifer helps you generate complex Go code without messy text templates. Imports are handled automatically, and your generator code is neat and organised.
- davelondon 10y agoCheck out the genjen package for a real-world example - it generates most of the boilerplate functions in the jen package: https://github.com/davelondon/jennifer/blob/master/genjen/render.go https://github.com/davelondon/jennifer/blob/master/genjen/re...