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

generate Generate methods for enums (compatible with testing/quick) #60

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

nuance
Copy link

@nuance nuance commented Sep 23, 2015

More testing/quick support

@samuel
Copy link
Owner

samuel commented Sep 25, 2015

As this seems only useful for testing could be put behind a flag (defaulted to false). Does that seem reasonable?

@samuel
Copy link
Owner

samuel commented Sep 25, 2015

Part of my worry is that it makes generated code depend on reflect

@nuance
Copy link
Author

nuance commented Sep 25, 2015

Yup, that sounds totally reasonable. I'll update the diff.

On Sep 25, 2015, at 2:27 PM, Samuel Stauffer notifications@github.com wrote:

Part of my worry is that it makes generated code depend on reflect


Reply to this email directly or view it on GitHub.

@jparise
Copy link
Contributor

jparise commented Sep 26, 2015

Would there be any benefit to generating these functions in a separate companion file (e.g. testing.go) like we do for rpc.go?

@nuance
Copy link
Author

nuance commented Oct 7, 2015

Oops, forgot to actually push my changes

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

Successfully merging this pull request may close these issues.

None yet

3 participants