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.

Reply via email to