Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Clone ¶
func Clone[K comparable, V any](m map[K]V) map[K]V
func Intersection ¶
func Intersection[K comparable, V any](m1 map[K]V, m2 map[K]V) map[K]V
Intersection returns the intersection of two maps, the value of the returned map is the value of the first map
func Union ¶
func Union[K comparable, V any](m1 map[K]V, m2 map[K]V) map[K]V
Union if some value has the same key, the latter one will be used
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.