MCPcopy Create free account
hub / github.com/corestoreio/pkg / Merge

Method Merge

config/elements.go:415–420  ·  view source on GitHub ↗

Merge copies the data from a groups into this slice and returns the new slice. Appends if ID is not found in this slice otherwise overrides struct fields if not empty. Not thread safe.

(groups ...*Group)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

TestGroupSliceMergeFunction · 0.95
XXX_MergeMethod · 0.45
XXX_MergeMethod · 0.45
XXX_MergeMethod · 0.45
XXX_MergeMethod · 0.45
XXX_MergeMethod · 0.45
XXX_MergeMethod · 0.45
XXX_MergeMethod · 0.45
XXX_MergeMethod · 0.45
XXX_MergeMethod · 0.45
XXX_MergeMethod · 0.45
XXX_MergeMethod · 0.45

Calls 1

mergeMethod · 0.95

Tested by 1

TestGroupSliceMergeFunction · 0.76