Documentation ¶
Index ¶
- func FromString(keyValuePairs string) map[string]string
- func GetKeysFromByteMap(mapData map[string][]byte) []string
- func GetKeysFromMap[T comparable, V any](mapData map[T]V) []T
- func GetKeysFromStringMap(mapData map[string]string) []string
- func MergeMaps[T comparable, V any](sources ...map[T]V) map[T]V
- func MergeStringMaps(left, right map[string]string) map[string]stringdeprecated
- func ToString(keyValues map[string]string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromString ¶ added in v1.6.1
FromString Converts a string with comma separated key-vaults to a map[string]string
func GetKeysFromByteMap ¶
GetKeysFromByteMap Returns keys. Deprecated - use GetKeysFromMap
func GetKeysFromMap ¶ added in v1.2.2
func GetKeysFromMap[T comparable, V any](mapData map[T]V) []T
GetKeysFromMap Returns keys
func GetKeysFromStringMap ¶ added in v1.1.6
GetKeysFromStringMap Returns keys. Deprecated - use GetKeysFromMap
func MergeMaps ¶ added in v1.2.2
func MergeMaps[T comparable, V any](sources ...map[T]V) map[T]V
MergeMaps combines given maps into one map. Maps are merged from the beginning (index position 1) of the sources slice, and in case of a key conflict, values from the source map with the highest index position wins.
func MergeStringMaps
deprecated
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.