Inputs/Outputs best practice or naming convention #623
Unanswered
alexanderilyin
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
My current approach is to have
inputs.goto store "inputs" and same withoutputs.go, for example:inputs.gooutputs.goProblem is that
mapRegistrypanics with:I'm pretty new to Go in general, but I wonder what's are the options to deal with this and maybe add "type" aka Input/Output to the generated name? I don't really want to add those suffixes to struct names.
Beta Was this translation helpful? Give feedback.
All reactions