What do you think of adding Merge(dst, src *yaml.Node) that will be able to merge mapping node keys instead of replacing them? Something like https://github.com/sitano/go-yaml-merge.
foo:
a: 1
b: 2
+
foo:
b: 3
c: 4
===
foo:
a: 1
b: 3
c: 4
I think lots of users will benefit from having this function in std lib.
What do you think of adding
Merge(dst, src *yaml.Node)that will be able to merge mapping node keys instead of replacing them? Something like https://github.com/sitano/go-yaml-merge.I think lots of users will benefit from having this function in std lib.