mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-11-26 10:07:34 -05:00
docs(web): shorten the MergeKV comment
This commit is contained in:
1 parent
30c8461156
commit
2bcd560bde
1 file changed
+1
-3
@@ -13,9 +13,7 @@ import (
|
||||
// KV is a generic key-value map.
|
||||
type KV map[string]any
|
||||
|
||||
// MergeKV merges the given key-value maps into a new map. The inputs are
|
||||
// left untouched: mergo would otherwise reuse their nested maps in the result
|
||||
// and write the later values into them.
|
||||
// MergeKV merges copies of the given key-value maps; the inputs stay untouched.
|
||||
func MergeKV(values ...KV) (KV, error) {
|
||||
var kv KV
|
||||
|
||||
|
||||
Reference in new issue
Block a user