Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Copy ¶ added in v1.0.15
func Copy[K comparable, V any](dst, src map[K]V)
Copy copy src map to dst map.
func Equal ¶ added in v1.0.12
func Equal[K comparable, V comparable](a map[K]V, b map[K]V) bool
Equal check equal for two map a and b.
func Merge ¶
func Merge[K comparable, V any](ms ...map[K]V) map[K]V
Merge merge all map `ms`, return the merged map.
func Reverse ¶
func Reverse[K comparable, V comparable](m map[K]V) map[V]K
Reverse reverse key/value from map m, return the reversed map
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.