Documentation
¶
Overview ¶
Package maputils provides utility functions for working with maps.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapValues ¶
func MapValues[K comparable, V any, R any](m map[K]V, f func(V) R) map[K]R
MapValues applies the function f to each value in the map m and returns a new map containing the results.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.