Documentation ¶
Index ¶
Constants ¶
View Source
const ( ListMergeStrategyReplace = "replace" ListMergeStrategyAppend = "append" ListMergeStrategyMerge = "merge" )
Variables ¶
This section is empty.
Functions ¶
func Merge ¶
Merge takes a list of maps as input, deep-merges the items in the order they are defined in the list, and returns a single map with the merged contents
func MergeWithOptions ¶ added in v1.3.1
func MergeWithOptions( inputs []map[string]any, appendSlice bool, sliceDeepCopy bool, ) (map[string]any, error)
MergeWithOptions takes a list of maps and options as input, deep-merges the items in the order they are defined in the list, and returns a single map with the merged contents
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.