collections

package
v0.0.0-...-110224e Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetKeys

func GetKeys(m map[string]string) []string

GetKeys gets all keys of the map.

func ReverseMap

func ReverseMap(m map[string]string) (map[string]string, bool)

ReverseMap reverses keys and their values. The 2nd returned value indicates whether the operation succeeded. A map with duplicate values can't be reversed. In that case, a 'false' is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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