Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use 'go generate' #87

Open
abh opened this issue Apr 26, 2015 · 1 comment
Open

use 'go generate' #87

abh opened this issue Apr 26, 2015 · 1 comment

Comments

@abh
Copy link

abh commented Apr 26, 2015

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

@clipperhouse
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants