maps

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Iterate

func Iterate[K ~string, V any](input map[K]V, fn func(k K, v V))

Iterate iterates over a map in the order determined by Keys.

func Keys

func Keys[K ~string, V any](input map[K]V) []K

Keys returns sorted keys of the input map.

Types

This section is empty.

Jump to

Keyboard shortcuts

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