1
0
Fork 0

Adding upstream version 0.2.2.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-05-16 21:59:49 +02:00
parent 975d1f9be4
commit 0759e85aad
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
14 changed files with 837 additions and 0 deletions

10
config.go Normal file
View file

@ -0,0 +1,10 @@
package deepmerge
type Config struct {
// PreventMultipleDefinitionsOfKeysWithPrimitiveValue causes the return of an error if dst and src define
// the same key and if said key has a value with a primitive type
// This does not apply to slices or maps.
//
// Defaults to true
PreventMultipleDefinitionsOfKeysWithPrimitiveValue bool
}