Help us shape the future of Go! Take the 2026 Go Developer Survey

override

package
v2.16.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnforceUnicity

func EnforceUnicity(value map[string]any) (map[string]any, error)

EnforceUnicity removes redefinition of elements declared in a sequence

func ExtendService

func ExtendService(base, override map[string]any) (map[string]any, error)

func Merge

func Merge(right, left map[string]any) (map[string]any, error)

Merge applies overrides to a config model

func MergeYaml added in v2.10.0

func MergeYaml(e any, o any, p tree.Path) (any, error)

MergeYaml merges map[string]any yaml trees handling special rules

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL