mergo
mergo copied to clipboard
mergo.WithOverride on maps replaces old keys only for certain types
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.
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
I also encountered this problem, did you solve it?
Nope, I worked around it with a manual merge.