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
-
My current approach is to have
inputs.go
to store "inputs" and same withoutputs.go
, for example:inputs.go
outputs.go
Problem is that
mapRegistry
panics 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