Open abh opened 9 years ago
It'd be convenient if the package (or I guess rather documentation...) used "go generate".
gen works nicely with generate. Mark up your types with gen and use //go:generate gen. Nice and terse.
//go:generate gen
I’ll look for a place in the docs for that, or feel free to send a PR if you have a suggestion.
It'd be convenient if the package (or I guess rather documentation...) used "go generate".