collections

package
v0.0.0-...-2b2a61a Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapFilter

func MapFilter[T any](dict map[string]T, predicate func(T) bool) (ret map[string]T)

func MapFind

func MapFind[K cmp.Ordered, V any](collection map[K]V, search func(K, V) bool) (key K, value V, present bool)

func MapForEachOrdered

func MapForEachOrdered[K cmp.Ordered, V any](collection map[K]V, iter func(K, V))

func MapKeys

func MapKeys[K comparable, V any](input map[K]V) []K

Types

This section is empty.

Jump to

Keyboard shortcuts

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