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 <i...@golang.org> wrote: > On Tue, Oct 2, 2018 at 6:21 AM, <flockemar...@gmail.com> 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 golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- *Michael T. jonesmichael.jo...@gmail.com <michael.jo...@gmail.com>* -- 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 golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.