Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MergeConfig ¶
type MergeConfig struct { SliceStrategy SliceStrategy SliceMergeKeys []string }
type SliceStrategy ¶
type SliceStrategy string
const ( SliceStrategyAppendNoDuplicates SliceStrategy = "append-no-duplicates" // default: append the new slice to the original slice, but ignore duplicates SliceStrategyAppend SliceStrategy = "append" // append the new slice to the original slice SliceStrategyTruncateAndReplace SliceStrategy = "replace" // replace the original slice with the new slice SliceStrategyMergeOverlapReplaceRest SliceStrategy = "merge-overlap-replace-rest" // replace the original slice with the new slice )
Click to show internal directories.
Click to hide internal directories.