On Tue, Feb 4, 2020 at 8:56 PM Jason E. Aten <[email protected]> wrote:
> b := helper(i: 2)
>
> would give you the whole new &fArg{x:0, y:0, i:2} back in b.
I'm not sure how helpful that really is, given that you can already write:
b := &fArg{i: 2}
--
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/CAOeFMNVp29ccJwAPcQYH98NUQ3skE3XYfPdVgAVOB5L73NR9pw%40mail.gmail.com.