maps

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2019 License: Apache-2.0 Imports: 3 Imported by: 2

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/coreos/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