sub

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Merge

func Merge(path []string) func(src, dest map[string]any)

Merge returns a map merge function that merges its src map into its dest map at the specified path, mutating the destination map. For instance, Merge allows merging in CLI flag configuration settings at any level deeper inside your root configuration map.

The returned merge function has the following properties:

  • non-strict
  • creates or replaces the values along the src merge root path with key-value maps as necessary.

Types

This section is empty.

Jump to

Keyboard shortcuts

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