Versions in this module Expand all Collapse all v1 v1.24.10 Oct 24, 2017 v1.24.9 Oct 24, 2017 Changes in this version + func CreateDeleteDirective(mergeKey string, mergeKeyValue interface{}) map[string]interface + func CreateThreeWayMergePatch(original, modified, current []byte, dataStruct interface{}, overwrite bool, ...) ([]byte, error) + func CreateTwoWayMergePatch(original, modified []byte, dataStruct interface{}, ...) ([]byte, error) + func ItemAddedToModifiedSlice(original, modified string) bool + func ItemMatchesOriginalAndModifiedSlice(original, modified string) bool + func ItemRemovedFromModifiedSlice(original, modified string) bool + func MergingMapsHaveConflicts(left, right map[string]interface{}, dataStruct interface{}) (bool, error) + func StrategicMergePatch(original, patch []byte, dataStruct interface{}) ([]byte, error) + type DiffOptions struct + BuildRetainKeysDirective bool + IgnoreChangesAndAdditions bool + IgnoreDeletions bool + SetElementOrder bool + type JSONMap map[string]interface + func CreateTwoWayMergeMapPatch(original, modified JSONMap, dataStruct interface{}, ...) (JSONMap, error) + func StrategicMergeMapPatch(original, patch JSONMap, dataStruct interface{}) (JSONMap, error) + type MergeOptions struct + IgnoreUnmatchedNulls bool + MergeParallelList bool + type SortableSliceOfMaps struct + func (ss SortableSliceOfMaps) Len() int + func (ss SortableSliceOfMaps) Less(i, j int) bool + func (ss SortableSliceOfMaps) Swap(i, j int) + type SortableSliceOfScalars struct + func (ss SortableSliceOfScalars) Len() int + func (ss SortableSliceOfScalars) Less(i, j int) bool + func (ss SortableSliceOfScalars) Swap(i, j int)