Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
MaxDepth = 32
)
Adapted from github.com/peterbourgon/mergemap
Functions ¶
func CollectKeys ¶
Recursively collects all keys into a flattened slice of materialized paths.
func Merge ¶
Merge recursively merges the src and dst maps. Key conflicts are resolved by preferring src, or recursively descending, if both src and dst are maps.
func ToStringMapRecursive ¶
func ToStringMapRecursive(src map[string]interface{})
Recursively coerces all maps to a stringmap. Because that's how we want it.
Types ¶
Click to show internal directories.
Click to hide internal directories.