maps

package
v0.0.0-...-487cccc Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Filter

func Filter[K comparable, V any](m map[K]V, f func(K, V) bool) map[K]V

func ForEach

func ForEach[K comparable, V any](m map[K]V, f func(K, V))

func Keys

func Keys[K comparable, V any](m map[K]V) []K

func Map

func Map[K1, K2 comparable, V1, V2 any](m1 map[K1]V1, f func(K1, V1) (K2, V2)) map[K2]V2

func Values

func Values[K comparable, V any](m map[K]V) []V

Types

This section is empty.

Jump to

Keyboard shortcuts

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