Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Difference ¶
func Difference[M ~map[K]V, K, V comparable](a, b M) M
Difference is a set that contains the elements of a that are not in b.
func Equals ¶
func Equals[M ~map[K]V, K, V comparable](a, b M) bool
Equals returns true if a and b have the same elements.
func FromSliceFunc ¶
func FromSliceFunc[S ~[]V, K comparable, V any](s S, key func(V) K) map[K]V
func Pop ¶
func Pop[M ~map[K]V, K comparable, V any](m M) (K, V, M)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.