Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AreEqual ¶
func AreEqual[K comparable](map1, map2 map[K]string) bool
AreEqual checks if two maps are equal.
func Merge ¶
func Merge[K comparable, V any](maps ...map[K]V) map[K]V
Merge merges all maps to a new one.
func MergeTo ¶
func MergeTo[K comparable, V any](original map[K]V, ms ...map[K]V) map[K]V
MergeTo merges all maps to the original one.
func Select ¶
func Select[K comparable, V any](originalMap map[K]V, keys ...K) map[K]V
Select returns a new map with selected keys and values of the originalMap
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.