Help us shape the future of Go! Take the 2026 Go Developer Survey

maps

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Keys

func Keys(m interface{}) []string

Keys returns a map's keys as an unordered slice of strings.

func NaturalKeys

func NaturalKeys(m interface{}) []string

NaturalKeys returns a map's keys as a natural sorted slice of strings. See github.com/flatcar/mantle/lang/natsort

func SortedKeys

func SortedKeys(m interface{}) []string

SortedKeys returns a map's keys as a sorted slice of strings.

Types

This section is empty.

Jump to

Keyboard shortcuts

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