generate Generate methods for enums (compatible with testing/quick)
More testing/quick support
As this seems only useful for testing could be put behind a flag (defaulted to false). Does that seem reasonable?
Part of my worry is that it makes generated code depend on reflect
Yup, that sounds totally reasonable. I'll update the diff.
On Sep 25, 2015, at 2:27 PM, Samuel Stauffer [email protected] wrote:
Part of my worry is that it makes generated code depend on reflect
— Reply to this email directly or view it on GitHub.
Would there be any benefit to generating these functions in a separate companion file (e.g. testing.go) like we do for rpc.go?
Oops, forgot to actually push my changes