Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NilDestinationError = errors.New("cannot use a nil map as a destination")
Functions ¶
func Merge ¶
Merge performs a deep merge of two maps, where it will copy the values in the src map into the dst map. Any values in the src map will overwrite the values in the dst map, except for values that are of type map[string]interface{}. This function is primarily intended for deep merging values from JSON, so it operates only on map[string]interface{} and not maps of other types. All other types are simply overwritten in the dst, including slices.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.