mapfunc

package
Version: v0.0.0-...-e7b93c9 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package mapfunc contains methods for manipulating maps.

Package mapfunc contains methods for manipulating maps.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeysIntBool

func KeysIntBool(m map[int]bool) []int

KeysIntBool returns the keys of a map[int]float64.

func KeysIntFloat

func KeysIntFloat(m map[int]float64) []int

KeysIntFloat returns the keys of a map[int]float64.

func KeysStringBool

func KeysStringBool(m map[string]bool) []string

KeysStringBool returns the keys of a map[string]bool.

func KeysStringFloat

func KeysStringFloat(m map[string]float64) []string

KeysStringFloat returns the keys of a map[string]float64.

func KeysStringString

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

KeysStringString returns the keys of a map[string]string.

func RandomKeyStringString

func RandomKeyStringString(m map[string]string) string

RandomKeyStringString gets a random key from a map[string]string

func ReverseStringString

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

ReverseStringString reverse the keys and values of a map[string]string

func ValuesStringString

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

ValuesStringString returns the values from a map[string]string.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL