maps

package
v0.4.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AreEqual

func AreEqual[M1, M2 ~map[K]V, K comparable, V any](m1 M1, m2 M2) bool

func Deduplicate

func Deduplicate(elems map[string]interface{}) error

func ForEach

func ForEach[M ~map[K]V, K comparable, V any](elems M, fn func(K, V))

func FromSlice

func FromSlice[S any, I comparable](elems []S, key func(S) I) map[I]S

func Keys

func Keys[M ~map[K]V, K comparable, V any](data M) []K

Types

This section is empty.

Jump to

Keyboard shortcuts

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