maputils

package
v0.0.0-...-ec4088c Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: MIT Imports: 0 Imported by: 0

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.

Jump to

Keyboard shortcuts

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