maputils

package
v1.45.2 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MergeSources

func MergeSources(sources ...map[string]any) map[string]any

MergeSources recursively left merges config sources, omitting any non-map values that are not one of: strings, lists, numbers, or booleans un-flattens keys before merging into new map

func NormalizeKeys

func NormalizeKeys(source map[string]any) map[string]any

func SetValue

func SetValue(config map[string]any, key []string, value any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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