Adding upstream version 0.2.2.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
975d1f9be4
commit
0759e85aad
14 changed files with 837 additions and 0 deletions
10
config.go
Normal file
10
config.go
Normal 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue