On Mon, 2016-10-03 at 23:32 -0700, David Luu wrote:
> type runKeywordReturnType struct{
> return interface{}
> status string
> output string
> error string
> traceback string
> }
>
> Seems to not work since return and error are go keywords.
You can't do so with return, but error is not a keyword, it is a type
name.
https://play.golang.org/p/9jVxDDozxc
--
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.