You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ideally it should output something like &{0xc000010250 0xc000010260}. However, the real output is {0xc000010250 <nil>}, which means that D: &s2 is ignored and not merged to dest.
The only work around is to make it pointer of struct like the following:
Ideally it should output something like
&{0xc000010250 0xc000010260}
. However, the real output is{0xc000010250 <nil>}
, which means thatD: &s2
is ignored and not merged todest
.The only work around is to make it pointer of struct like the following:
And the output is
&{0xc000010250 0xc000010260}
which is expected.The text was updated successfully, but these errors were encountered: