mergo icon indicating copy to clipboard operation
mergo copied to clipboard

The `struct` in map value is overwritten completely

Open ben181231 opened this issue 2 years ago • 1 comments

As mentioned in the title, the struct in map value is overwritten completely. I don't whether it is expected behaviour from the implementor's perspective. But the behaviour surprises me.

See. https://go.dev/play/p/99fVHhz2_L5

ben181231 avatar Jan 26 '22 05:01 ben181231

Thanks for opening a new issue. The team has been notified and will review it as soon as possible. For urgent issues and priority support, visit https://xscode.com/imdario/mergo

xscode-auto-reply[bot] avatar Jan 26 '22 05:01 xscode-auto-reply[bot]

@ben181231 Sorry, that is actually the expected behaviour.

darccio avatar Sep 11 '23 11:09 darccio