Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapValues ¶
func MapValues[K comparable, T, U any](ts map[K]T, fn func(t T) U) map[K]U
func MapValuesWithError ¶
func MapValuesWithError[K comparable, T, U any](ts map[K]T, fn func(t T) (U, error)) (map[K]U, error)
func Values ¶
func Values[K comparable, T any](ts map[K]T) []T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.