Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Map ¶
func Map[K comparable, V any](orig map[K]V) map[K]V
func OrderedMap ¶ added in v3.41.0
func OrderedMap[K comparable, V any](orig *orderedmap.OrderedMap[K, V]) *orderedmap.OrderedMap[K, V]
func TraverseStringsFunc ¶ added in v3.36.0
TraverseStringsFunc runs the given function on every string in the given value by traversing it recursively. If the given value is a string, the function will run on a copy of the string and return it. If the value is a struct, map or a slice, the function will recursively call itself for each field or element of the struct, map or slice until all strings inside the struct or slice are replaced.
Types ¶
Click to show internal directories.
Click to hide internal directories.