tpl/collections: Add Merge function
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Thu, 11 Jul 2019 05:12:44 +0000 (07:12 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Mon, 15 Jul 2019 18:47:35 +0000 (20:47 +0200)
commitc624a77992c4f7c1bcb5f659e89332d8588986b7
treeb0c734650f9c2a6ea223e30154fdba5c97a4b0e2
parent020086cb2b0396909d831abf66b8f1455e6f7e6a
tpl/collections: Add Merge function

Merges two maps recursively and returns a new one. Merge is case-insensitive.

Fixes #5992
tpl/collections/init.go
tpl/collections/merge.go [new file with mode: 0644]
tpl/collections/merge_test.go [new file with mode: 0644]