Hello,
Can someone explain to me how this prints "test world" twice? I had
expected to see "test hello" and "test world".
https://play.golang.org/p/E7CRQNE6oT
Kind regards,
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from
On Mon, Mar 13, 2017 at 9:10 AM, george.robinson via golang-nuts
wrote:
> Can someone explain to me how this prints "test world" twice? I had expected
> to see "test hello" and "test world".
>
> https://play.golang.org/p/E7CRQNE6oT
m1 is not a pointer, but m1.S is a slice, and a slice is essentia