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

Method Merge

config/elements.go:556–561  ·  view source on GitHub ↗

Merge copies the data from a Field 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.

(fields ...*Field)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestFieldSliceMergeFunction · 0.95

Calls 1

mergeMethod · 0.95

Tested by 1

TestFieldSliceMergeFunction · 0.76