I’m so glad to read this! I’m away from my computer but feeling like I’d failed a Go skill test...I could not imagine a problem either.
On Tue, Oct 2, 2018 at 6:38 AM Ian Lance Taylor <[email protected]> wrote: > On Tue, Oct 2, 2018 at 6:21 AM, <[email protected]> wrote: > > > > I'd like to understand the reasoning in Go better. > > > > This code is allowed: > > newlocalvar, _ := strconv.Atoi(somestring) > > > > And this code is forbidden: > > somestruct.field, _ = strconv.Atoi(somestring) > > Please show us a complete example, perhaps in the Go playground at > play.google.com. Because when I look at those statements I think that > both of them should compile. > > Ian > > -- > 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. > -- *Michael T. [email protected] <[email protected]>* -- 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.
