Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromString ¶
FromString Converts a string with comma separated key-value pairs to a map[string]string
func GetKeysFromMap ¶
func GetKeysFromMap[T comparable, V any](m map[T]V) []T
GetKeysFromMap returns the keys of a map
func MergeMaps ¶
func MergeMaps[T comparable, V any](sources ...map[T]V) map[T]V
MergeMaps combines two maps into one map. Maps are merged from the beginning of the sources slice, in case of key conflicts, values from source map with higher index will overwrite the previous ones.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.