Say I wanted to define a struct like this:
type runKeywordReturnType struct{
return interface{}
status string
output string
error string
traceback string
}
Seems to not work since return and error are go keywords. If I capitalize
the first letter, that works. But say I really wanted to keep it all
lowercase, is there a way to do so in go?
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.