maps

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Clone

func Clone[K comparable, V any](m map[K]V) map[K]V

func Keys

func Keys[K comparable, V any](m map[K]V) []K

func OrderedKeys

func OrderedKeys[K constraints.Ordered, V any](m map[K]V) []K

func OrderedValues

func OrderedValues[K constraints.Ordered, V any](m map[K]V, less func(v1, v2 V) bool) []V

func Values

func Values[K comparable, V any](m map[K]V) []V

Types

This section is empty.

Jump to

Keyboard shortcuts

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