aocmaps

package
v0.0.0-...-bc1935d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 29, 2023 License: MIT Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL