maps

package module
v0.0.0-...-f5a4d7d Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package maps provides utility functions for working with maps.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Keys

func Keys[M ~map[K]V, K cmp.Ordered, V any](m M) []K

Keys returns the keys of the map m.

func SortedKeys

func SortedKeys[M ~map[K]V, K cmp.Ordered, V any](m M) []K

SortedKeys returns the keys of the map m. The keys will be sorted.

Types

This section is empty.

Jump to

Keyboard shortcuts

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