clipperhouse / gen

Type-driven code generation for Go
http://clipperhouse.com/gen/overview/
Other
1.43k stars 90 forks source link

use 'go generate' #87

Open abh opened 9 years ago

abh commented 9 years ago

It'd be convenient if the package (or I guess rather documentation...) used "go generate".

clipperhouse commented 9 years ago

gen works nicely with generate. Mark up your types with gen and use //go:generate gen. Nice and terse.

I’ll look for a place in the docs for that, or feel free to send a PR if you have a suggestion.