Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Merge ¶
func Merge(base, overrides, into interface{}) error
Merge merges `overrides` into `base` using the SMP (structural merge patch) approach. The result is written into `into` to avoid clients having to type cast the result. Notes: - It intentionally does not remove fields present in base but missing from overrides - It merges slices only if the `patchStrategy:"merge"` tag is present and the `patchMergeKey` identifies the unique field
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.