Documentation
¶
Index ¶
- func AreEqual[M1, M2 ~map[K]V, K comparable, V any](m1 M1, m2 M2) bool
- func Deduplicate(elems map[string]interface{}) error
- func ForEach[M ~map[K]V, K comparable, V any](elems M, fn func(K, V))
- func FromSlice[S any, I comparable](elems []S, key func(S) I) map[I]S
- func Keys[M ~map[K]V, K comparable, V any](data M) []K
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 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.
Click to show internal directories.
Click to hide internal directories.