mergo icon indicating copy to clipboard operation
mergo copied to clipboard

mergo.WithOverride on maps replaces old keys only for certain types

Open faximan opened this issue 2 years ago • 3 comments

See https://go.dev/play/p/wUmW7O4Fr5s.

If "x" is overridden (which is what I would expect), I don't see why "y" isn't.

faximan avatar Dec 02 '21 08:12 faximan

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 Dec 02 '21 08:12 xscode-auto-reply[bot]

I also encountered this problem, did you solve it?

mark8s avatar Aug 18 '22 06:08 mark8s

Nope, I worked around it with a manual merge.

faximan avatar Aug 18 '22 08:08 faximan