Documentation
¶
Overview ¶
Package stringmap contains convenience functions for maps with string keys
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetValueInMap ¶
GetValueInMap returns the value of a nested StringMap at the specified path
func MergeIntoMap ¶
MergeIntoMap deep merges values from one StringMap into another
For each key path at which subject does not have a value, this will set the value from otherMap even if subject has a value at a prefix of the key path. Existing values - including nil - at matching complete paths will not be overwritten.
func SetValueInMap ¶
SetValueInMap fixes the value of a nested StringMap at the specified path
Additional levels of nesting will be created if necessary.
Types ¶
Click to show internal directories.
Click to hide internal directories.