elmap

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Keys

func Keys(m interface{}) []interface{}

Get all keys in the map. If `m` is not a map that will cause panic.

func KeysAsString

func KeysAsString(m interface{}) []string

Get all keys in the map as []string. If `m` is not a map that will cause panic.

func KeysBool

func KeysBool(m map[bool]bool) []bool

KeysBool returns a slice of map's keys

func KeysBoolFloat32

func KeysBoolFloat32(m map[bool]float32) []bool

KeysBoolFloat32 returns a slice of map's keys

func KeysBoolFloat64

func KeysBoolFloat64(m map[bool]float64) []bool

KeysBoolFloat64 returns a slice of map's keys

func KeysBoolInt

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

KeysBoolInt returns a slice of map's keys

func KeysBoolInt16

func KeysBoolInt16(m map[bool]int16) []bool

KeysBoolInt16 returns a slice of map's keys

func KeysBoolInt32

func KeysBoolInt32(m map[bool]int32) []bool

KeysBoolInt32 returns a slice of map's keys

func KeysBoolInt64

func KeysBoolInt64(m map[bool]int64) []bool

KeysBoolInt64 returns a slice of map's keys

func KeysBoolInt8

func KeysBoolInt8(m map[bool]int8) []bool

KeysBoolInt8 returns a slice of map's keys

func KeysBoolStr

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

KeysBoolStr returns a slice of map's keys

func KeysBoolUint

func KeysBoolUint(m map[bool]uint) []bool

KeysBoolUint returns a slice of map's keys

func KeysBoolUint16

func KeysBoolUint16(m map[bool]uint16) []bool

KeysBoolUint16 returns a slice of map's keys

func KeysBoolUint32

func KeysBoolUint32(m map[bool]uint32) []bool

KeysBoolUint32 returns a slice of map's keys

func KeysBoolUint64

func KeysBoolUint64(m map[bool]uint64) []bool

KeysBoolUint64 returns a slice of map's keys

func KeysBoolUint8

func KeysBoolUint8(m map[bool]uint8) []bool

KeysBoolUint8 returns a slice of map's keys

func KeysFloat32

func KeysFloat32(m map[float32]float32) []float32

KeysFloat32 returns a slice of map's keys

func KeysFloat32Bool

func KeysFloat32Bool(m map[float32]bool) []float32

KeysFloat32Bool returns a slice of map's keys

func KeysFloat32Float64

func KeysFloat32Float64(m map[float32]float64) []float32

KeysFloat32Float64 returns a slice of map's keys

func KeysFloat32Int

func KeysFloat32Int(m map[float32]int) []float32

KeysFloat32Int returns a slice of map's keys

func KeysFloat32Int16

func KeysFloat32Int16(m map[float32]int16) []float32

KeysFloat32Int16 returns a slice of map's keys

func KeysFloat32Int32

func KeysFloat32Int32(m map[float32]int32) []float32

KeysFloat32Int32 returns a slice of map's keys

func KeysFloat32Int64

func KeysFloat32Int64(m map[float32]int64) []float32

KeysFloat32Int64 returns a slice of map's keys

func KeysFloat32Int8

func KeysFloat32Int8(m map[float32]int8) []float32

KeysFloat32Int8 returns a slice of map's keys

func KeysFloat32Str

func KeysFloat32Str(m map[float32]string) []float32

KeysFloat32Str returns a slice of map's keys

func KeysFloat32Uint

func KeysFloat32Uint(m map[float32]uint) []float32

KeysFloat32Uint returns a slice of map's keys

func KeysFloat32Uint16

func KeysFloat32Uint16(m map[float32]uint16) []float32

KeysFloat32Uint16 returns a slice of map's keys

func KeysFloat32Uint32

func KeysFloat32Uint32(m map[float32]uint32) []float32

KeysFloat32Uint32 returns a slice of map's keys

func KeysFloat32Uint64

func KeysFloat32Uint64(m map[float32]uint64) []float32

KeysFloat32Uint64 returns a slice of map's keys

func KeysFloat32Uint8

func KeysFloat32Uint8(m map[float32]uint8) []float32

KeysFloat32Uint8 returns a slice of map's keys

func KeysFloat64

func KeysFloat64(m map[float64]float64) []float64

KeysFloat64 returns a slice of map's keys

func KeysFloat64Bool

func KeysFloat64Bool(m map[float64]bool) []float64

KeysFloat64Bool returns a slice of map's keys

func KeysFloat64Float32

func KeysFloat64Float32(m map[float64]float32) []float64

KeysFloat64Float32 returns a slice of map's keys

func KeysFloat64Int

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

KeysFloat64Int returns a slice of map's keys

func KeysFloat64Int16

func KeysFloat64Int16(m map[float64]int16) []float64

KeysFloat64Int16 returns a slice of map's keys

func KeysFloat64Int32

func KeysFloat64Int32(m map[float64]int32) []float64

KeysFloat64Int32 returns a slice of map's keys

func KeysFloat64Int64

func KeysFloat64Int64(m map[float64]int64) []float64

KeysFloat64Int64 returns a slice of map's keys

func KeysFloat64Int8

func KeysFloat64Int8(m map[float64]int8) []float64

KeysFloat64Int8 returns a slice of map's keys

func KeysFloat64Str

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

KeysFloat64Str returns a slice of map's keys

func KeysFloat64Uint

func KeysFloat64Uint(m map[float64]uint) []float64

KeysFloat64Uint returns a slice of map's keys

func KeysFloat64Uint16

func KeysFloat64Uint16(m map[float64]uint16) []float64

KeysFloat64Uint16 returns a slice of map's keys

func KeysFloat64Uint32

func KeysFloat64Uint32(m map[float64]uint32) []float64

KeysFloat64Uint32 returns a slice of map's keys

func KeysFloat64Uint64

func KeysFloat64Uint64(m map[float64]uint64) []float64

KeysFloat64Uint64 returns a slice of map's keys

func KeysFloat64Uint8

func KeysFloat64Uint8(m map[float64]uint8) []float64

KeysFloat64Uint8 returns a slice of map's keys

func KeysInt

func KeysInt(m map[int]int) []int

KeysInt returns a slice of map's keys

func KeysInt16

func KeysInt16(m map[int16]int16) []int16

KeysInt16 returns a slice of map's keys

func KeysInt16Bool

func KeysInt16Bool(m map[int16]bool) []int16

KeysInt16Bool returns a slice of map's keys

func KeysInt16Float32

func KeysInt16Float32(m map[int16]float32) []int16

KeysInt16Float32 returns a slice of map's keys

func KeysInt16Float64

func KeysInt16Float64(m map[int16]float64) []int16

KeysInt16Float64 returns a slice of map's keys

func KeysInt16Int

func KeysInt16Int(m map[int16]int) []int16

KeysInt16Int returns a slice of map's keys

func KeysInt16Int32

func KeysInt16Int32(m map[int16]int32) []int16

KeysInt16Int32 returns a slice of map's keys

func KeysInt16Int64

func KeysInt16Int64(m map[int16]int64) []int16

KeysInt16Int64 returns a slice of map's keys

func KeysInt16Int8

func KeysInt16Int8(m map[int16]int8) []int16

KeysInt16Int8 returns a slice of map's keys

func KeysInt16Str

func KeysInt16Str(m map[int16]string) []int16

KeysInt16Str returns a slice of map's keys

func KeysInt16Uint

func KeysInt16Uint(m map[int16]uint) []int16

KeysInt16Uint returns a slice of map's keys

func KeysInt16Uint16

func KeysInt16Uint16(m map[int16]uint16) []int16

KeysInt16Uint16 returns a slice of map's keys

func KeysInt16Uint32

func KeysInt16Uint32(m map[int16]uint32) []int16

KeysInt16Uint32 returns a slice of map's keys

func KeysInt16Uint64

func KeysInt16Uint64(m map[int16]uint64) []int16

KeysInt16Uint64 returns a slice of map's keys

func KeysInt16Uint8

func KeysInt16Uint8(m map[int16]uint8) []int16

KeysInt16Uint8 returns a slice of map's keys

func KeysInt32

func KeysInt32(m map[int32]int32) []int32

KeysInt32 returns a slice of map's keys

func KeysInt32Bool

func KeysInt32Bool(m map[int32]bool) []int32

KeysInt32Bool returns a slice of map's keys

func KeysInt32Float32

func KeysInt32Float32(m map[int32]float32) []int32

KeysInt32Float32 returns a slice of map's keys

func KeysInt32Float64

func KeysInt32Float64(m map[int32]float64) []int32

KeysInt32Float64 returns a slice of map's keys

func KeysInt32Int

func KeysInt32Int(m map[int32]int) []int32

KeysInt32Int returns a slice of map's keys

func KeysInt32Int16

func KeysInt32Int16(m map[int32]int16) []int32

KeysInt32Int16 returns a slice of map's keys

func KeysInt32Int64

func KeysInt32Int64(m map[int32]int64) []int32

KeysInt32Int64 returns a slice of map's keys

func KeysInt32Int8

func KeysInt32Int8(m map[int32]int8) []int32

KeysInt32Int8 returns a slice of map's keys

func KeysInt32Str

func KeysInt32Str(m map[int32]string) []int32

KeysInt32Str returns a slice of map's keys

func KeysInt32Uint

func KeysInt32Uint(m map[int32]uint) []int32

KeysInt32Uint returns a slice of map's keys

func KeysInt32Uint16

func KeysInt32Uint16(m map[int32]uint16) []int32

KeysInt32Uint16 returns a slice of map's keys

func KeysInt32Uint32

func KeysInt32Uint32(m map[int32]uint32) []int32

KeysInt32Uint32 returns a slice of map's keys

func KeysInt32Uint64

func KeysInt32Uint64(m map[int32]uint64) []int32

KeysInt32Uint64 returns a slice of map's keys

func KeysInt32Uint8

func KeysInt32Uint8(m map[int32]uint8) []int32

KeysInt32Uint8 returns a slice of map's keys

func KeysInt64

func KeysInt64(m map[int64]int64) []int64

KeysInt64 returns a slice of map's keys

func KeysInt64Bool

func KeysInt64Bool(m map[int64]bool) []int64

KeysInt64Bool returns a slice of map's keys

func KeysInt64Float32

func KeysInt64Float32(m map[int64]float32) []int64

KeysInt64Float32 returns a slice of map's keys

func KeysInt64Float64

func KeysInt64Float64(m map[int64]float64) []int64

KeysInt64Float64 returns a slice of map's keys

func KeysInt64Int

func KeysInt64Int(m map[int64]int) []int64

KeysInt64Int returns a slice of map's keys

func KeysInt64Int16

func KeysInt64Int16(m map[int64]int16) []int64

KeysInt64Int16 returns a slice of map's keys

func KeysInt64Int32

func KeysInt64Int32(m map[int64]int32) []int64

KeysInt64Int32 returns a slice of map's keys

func KeysInt64Int8

func KeysInt64Int8(m map[int64]int8) []int64

KeysInt64Int8 returns a slice of map's keys

func KeysInt64Str

func KeysInt64Str(m map[int64]string) []int64

KeysInt64Str returns a slice of map's keys

func KeysInt64Uint

func KeysInt64Uint(m map[int64]uint) []int64

KeysInt64Uint returns a slice of map's keys

func KeysInt64Uint16

func KeysInt64Uint16(m map[int64]uint16) []int64

KeysInt64Uint16 returns a slice of map's keys

func KeysInt64Uint32

func KeysInt64Uint32(m map[int64]uint32) []int64

KeysInt64Uint32 returns a slice of map's keys

func KeysInt64Uint64

func KeysInt64Uint64(m map[int64]uint64) []int64

KeysInt64Uint64 returns a slice of map's keys

func KeysInt64Uint8

func KeysInt64Uint8(m map[int64]uint8) []int64

KeysInt64Uint8 returns a slice of map's keys

func KeysInt8

func KeysInt8(m map[int8]int8) []int8

KeysInt8 returns a slice of map's keys

func KeysInt8Bool

func KeysInt8Bool(m map[int8]bool) []int8

KeysInt8Bool returns a slice of map's keys

func KeysInt8Float32

func KeysInt8Float32(m map[int8]float32) []int8

KeysInt8Float32 returns a slice of map's keys

func KeysInt8Float64

func KeysInt8Float64(m map[int8]float64) []int8

KeysInt8Float64 returns a slice of map's keys

func KeysInt8Int

func KeysInt8Int(m map[int8]int) []int8

KeysInt8Int returns a slice of map's keys

func KeysInt8Int16

func KeysInt8Int16(m map[int8]int16) []int8

KeysInt8Int16 returns a slice of map's keys

func KeysInt8Int32

func KeysInt8Int32(m map[int8]int32) []int8

KeysInt8Int32 returns a slice of map's keys

func KeysInt8Int64

func KeysInt8Int64(m map[int8]int64) []int8

KeysInt8Int64 returns a slice of map's keys

func KeysInt8Str

func KeysInt8Str(m map[int8]string) []int8

KeysInt8Str returns a slice of map's keys

func KeysInt8Uint

func KeysInt8Uint(m map[int8]uint) []int8

KeysInt8Uint returns a slice of map's keys

func KeysInt8Uint16

func KeysInt8Uint16(m map[int8]uint16) []int8

KeysInt8Uint16 returns a slice of map's keys

func KeysInt8Uint32

func KeysInt8Uint32(m map[int8]uint32) []int8

KeysInt8Uint32 returns a slice of map's keys

func KeysInt8Uint64

func KeysInt8Uint64(m map[int8]uint64) []int8

KeysInt8Uint64 returns a slice of map's keys

func KeysInt8Uint8

func KeysInt8Uint8(m map[int8]uint8) []int8

KeysInt8Uint8 returns a slice of map's keys

func KeysIntBool

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

KeysIntBool returns a slice of map's keys

func KeysIntFloat32

func KeysIntFloat32(m map[int]float32) []int

KeysIntFloat32 returns a slice of map's keys

func KeysIntFloat64

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

KeysIntFloat64 returns a slice of map's keys

func KeysIntInt16

func KeysIntInt16(m map[int]int16) []int

KeysIntInt16 returns a slice of map's keys

func KeysIntInt32

func KeysIntInt32(m map[int]int32) []int

KeysIntInt32 returns a slice of map's keys

func KeysIntInt64

func KeysIntInt64(m map[int]int64) []int

KeysIntInt64 returns a slice of map's keys

func KeysIntInt8

func KeysIntInt8(m map[int]int8) []int

KeysIntInt8 returns a slice of map's keys

func KeysIntStr

func KeysIntStr(m map[int]string) []int

KeysIntStr returns a slice of map's keys

func KeysIntUint

func KeysIntUint(m map[int]uint) []int

KeysIntUint returns a slice of map's keys

func KeysIntUint16

func KeysIntUint16(m map[int]uint16) []int

KeysIntUint16 returns a slice of map's keys

func KeysIntUint32

func KeysIntUint32(m map[int]uint32) []int

KeysIntUint32 returns a slice of map's keys

func KeysIntUint64

func KeysIntUint64(m map[int]uint64) []int

KeysIntUint64 returns a slice of map's keys

func KeysIntUint8

func KeysIntUint8(m map[int]uint8) []int

KeysIntUint8 returns a slice of map's keys

func KeysStr

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

KeysStr returns a slice of map's keys

func KeysStrBool

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

KeysStrBool returns a slice of map's keys

func KeysStrFloat32

func KeysStrFloat32(m map[string]float32) []string

KeysStrFloat32 returns a slice of map's keys

func KeysStrFloat64

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

KeysStrFloat64 returns a slice of map's keys

func KeysStrInt

func KeysStrInt(m map[string]int) []string

KeysStrInt returns a slice of map's keys

func KeysStrInt16

func KeysStrInt16(m map[string]int16) []string

KeysStrInt16 returns a slice of map's keys

func KeysStrInt32

func KeysStrInt32(m map[string]int32) []string

KeysStrInt32 returns a slice of map's keys

func KeysStrInt64

func KeysStrInt64(m map[string]int64) []string

KeysStrInt64 returns a slice of map's keys

func KeysStrInt8

func KeysStrInt8(m map[string]int8) []string

KeysStrInt8 returns a slice of map's keys

func KeysStrUint

func KeysStrUint(m map[string]uint) []string

KeysStrUint returns a slice of map's keys

func KeysStrUint16

func KeysStrUint16(m map[string]uint16) []string

KeysStrUint16 returns a slice of map's keys

func KeysStrUint32

func KeysStrUint32(m map[string]uint32) []string

KeysStrUint32 returns a slice of map's keys

func KeysStrUint64

func KeysStrUint64(m map[string]uint64) []string

KeysStrUint64 returns a slice of map's keys

func KeysStrUint8

func KeysStrUint8(m map[string]uint8) []string

KeysStrUint8 returns a slice of map's keys

func KeysToLower

func KeysToLower(m map[string]interface{}) map[string]interface{}

KeysToLower convert keys to lower case.

func KeysToUpper

func KeysToUpper(m map[string]interface{}) map[string]interface{}

KeysToUpper convert keys to upper case.

func KeysUint

func KeysUint(m map[uint]uint) []uint

KeysUint returns a slice of map's keys

func KeysUint16

func KeysUint16(m map[uint16]uint16) []uint16

KeysUint16 returns a slice of map's keys

func KeysUint16Bool

func KeysUint16Bool(m map[uint16]bool) []uint16

KeysUint16Bool returns a slice of map's keys

func KeysUint16Float32

func KeysUint16Float32(m map[uint16]float32) []uint16

KeysUint16Float32 returns a slice of map's keys

func KeysUint16Float64

func KeysUint16Float64(m map[uint16]float64) []uint16

KeysUint16Float64 returns a slice of map's keys

func KeysUint16Int

func KeysUint16Int(m map[uint16]int) []uint16

KeysUint16Int returns a slice of map's keys

func KeysUint16Int16

func KeysUint16Int16(m map[uint16]int16) []uint16

KeysUint16Int16 returns a slice of map's keys

func KeysUint16Int32

func KeysUint16Int32(m map[uint16]int32) []uint16

KeysUint16Int32 returns a slice of map's keys

func KeysUint16Int64

func KeysUint16Int64(m map[uint16]int64) []uint16

KeysUint16Int64 returns a slice of map's keys

func KeysUint16Int8

func KeysUint16Int8(m map[uint16]int8) []uint16

KeysUint16Int8 returns a slice of map's keys

func KeysUint16Str

func KeysUint16Str(m map[uint16]string) []uint16

KeysUint16Str returns a slice of map's keys

func KeysUint16Uint

func KeysUint16Uint(m map[uint16]uint) []uint16

KeysUint16Uint returns a slice of map's keys

func KeysUint16Uint32

func KeysUint16Uint32(m map[uint16]uint32) []uint16

KeysUint16Uint32 returns a slice of map's keys

func KeysUint16Uint64

func KeysUint16Uint64(m map[uint16]uint64) []uint16

KeysUint16Uint64 returns a slice of map's keys

func KeysUint16Uint8

func KeysUint16Uint8(m map[uint16]uint8) []uint16

KeysUint16Uint8 returns a slice of map's keys

func KeysUint32

func KeysUint32(m map[uint32]uint32) []uint32

KeysUint32 returns a slice of map's keys

func KeysUint32Bool

func KeysUint32Bool(m map[uint32]bool) []uint32

KeysUint32Bool returns a slice of map's keys

func KeysUint32Float32

func KeysUint32Float32(m map[uint32]float32) []uint32

KeysUint32Float32 returns a slice of map's keys

func KeysUint32Float64

func KeysUint32Float64(m map[uint32]float64) []uint32

KeysUint32Float64 returns a slice of map's keys

func KeysUint32Int

func KeysUint32Int(m map[uint32]int) []uint32

KeysUint32Int returns a slice of map's keys

func KeysUint32Int16

func KeysUint32Int16(m map[uint32]int16) []uint32

KeysUint32Int16 returns a slice of map's keys

func KeysUint32Int32

func KeysUint32Int32(m map[uint32]int32) []uint32

KeysUint32Int32 returns a slice of map's keys

func KeysUint32Int64

func KeysUint32Int64(m map[uint32]int64) []uint32

KeysUint32Int64 returns a slice of map's keys

func KeysUint32Int8

func KeysUint32Int8(m map[uint32]int8) []uint32

KeysUint32Int8 returns a slice of map's keys

func KeysUint32Str

func KeysUint32Str(m map[uint32]string) []uint32

KeysUint32Str returns a slice of map's keys

func KeysUint32Uint

func KeysUint32Uint(m map[uint32]uint) []uint32

KeysUint32Uint returns a slice of map's keys

func KeysUint32Uint16

func KeysUint32Uint16(m map[uint32]uint16) []uint32

KeysUint32Uint16 returns a slice of map's keys

func KeysUint32Uint64

func KeysUint32Uint64(m map[uint32]uint64) []uint32

KeysUint32Uint64 returns a slice of map's keys

func KeysUint32Uint8

func KeysUint32Uint8(m map[uint32]uint8) []uint32

KeysUint32Uint8 returns a slice of map's keys

func KeysUint64

func KeysUint64(m map[uint64]uint64) []uint64

KeysUint64 returns a slice of map's keys

func KeysUint64Bool

func KeysUint64Bool(m map[uint64]bool) []uint64

KeysUint64Bool returns a slice of map's keys

func KeysUint64Float32

func KeysUint64Float32(m map[uint64]float32) []uint64

KeysUint64Float32 returns a slice of map's keys

func KeysUint64Float64

func KeysUint64Float64(m map[uint64]float64) []uint64

KeysUint64Float64 returns a slice of map's keys

func KeysUint64Int

func KeysUint64Int(m map[uint64]int) []uint64

KeysUint64Int returns a slice of map's keys

func KeysUint64Int16

func KeysUint64Int16(m map[uint64]int16) []uint64

KeysUint64Int16 returns a slice of map's keys

func KeysUint64Int32

func KeysUint64Int32(m map[uint64]int32) []uint64

KeysUint64Int32 returns a slice of map's keys

func KeysUint64Int64

func KeysUint64Int64(m map[uint64]int64) []uint64

KeysUint64Int64 returns a slice of map's keys

func KeysUint64Int8

func KeysUint64Int8(m map[uint64]int8) []uint64

KeysUint64Int8 returns a slice of map's keys

func KeysUint64Str

func KeysUint64Str(m map[uint64]string) []uint64

KeysUint64Str returns a slice of map's keys

func KeysUint64Uint

func KeysUint64Uint(m map[uint64]uint) []uint64

KeysUint64Uint returns a slice of map's keys

func KeysUint64Uint16

func KeysUint64Uint16(m map[uint64]uint16) []uint64

KeysUint64Uint16 returns a slice of map's keys

func KeysUint64Uint32

func KeysUint64Uint32(m map[uint64]uint32) []uint64

KeysUint64Uint32 returns a slice of map's keys

func KeysUint64Uint8

func KeysUint64Uint8(m map[uint64]uint8) []uint64

KeysUint64Uint8 returns a slice of map's keys

func KeysUint8

func KeysUint8(m map[uint8]uint8) []uint8

KeysUint8 returns a slice of map's keys

func KeysUint8Bool

func KeysUint8Bool(m map[uint8]bool) []uint8

KeysUint8Bool returns a slice of map's keys

func KeysUint8Float32

func KeysUint8Float32(m map[uint8]float32) []uint8

KeysUint8Float32 returns a slice of map's keys

func KeysUint8Float64

func KeysUint8Float64(m map[uint8]float64) []uint8

KeysUint8Float64 returns a slice of map's keys

func KeysUint8Int

func KeysUint8Int(m map[uint8]int) []uint8

KeysUint8Int returns a slice of map's keys

func KeysUint8Int16

func KeysUint8Int16(m map[uint8]int16) []uint8

KeysUint8Int16 returns a slice of map's keys

func KeysUint8Int32

func KeysUint8Int32(m map[uint8]int32) []uint8

KeysUint8Int32 returns a slice of map's keys

func KeysUint8Int64

func KeysUint8Int64(m map[uint8]int64) []uint8

KeysUint8Int64 returns a slice of map's keys

func KeysUint8Int8

func KeysUint8Int8(m map[uint8]int8) []uint8

KeysUint8Int8 returns a slice of map's keys

func KeysUint8Str

func KeysUint8Str(m map[uint8]string) []uint8

KeysUint8Str returns a slice of map's keys

func KeysUint8Uint

func KeysUint8Uint(m map[uint8]uint) []uint8

KeysUint8Uint returns a slice of map's keys

func KeysUint8Uint16

func KeysUint8Uint16(m map[uint8]uint16) []uint8

KeysUint8Uint16 returns a slice of map's keys

func KeysUint8Uint32

func KeysUint8Uint32(m map[uint8]uint32) []uint8

KeysUint8Uint32 returns a slice of map's keys

func KeysUint8Uint64

func KeysUint8Uint64(m map[uint8]uint64) []uint8

KeysUint8Uint64 returns a slice of map's keys

func KeysUintBool

func KeysUintBool(m map[uint]bool) []uint

KeysUintBool returns a slice of map's keys

func KeysUintFloat32

func KeysUintFloat32(m map[uint]float32) []uint

KeysUintFloat32 returns a slice of map's keys

func KeysUintFloat64

func KeysUintFloat64(m map[uint]float64) []uint

KeysUintFloat64 returns a slice of map's keys

func KeysUintInt

func KeysUintInt(m map[uint]int) []uint

KeysUintInt returns a slice of map's keys

func KeysUintInt16

func KeysUintInt16(m map[uint]int16) []uint

KeysUintInt16 returns a slice of map's keys

func KeysUintInt32

func KeysUintInt32(m map[uint]int32) []uint

KeysUintInt32 returns a slice of map's keys

func KeysUintInt64

func KeysUintInt64(m map[uint]int64) []uint

KeysUintInt64 returns a slice of map's keys

func KeysUintInt8

func KeysUintInt8(m map[uint]int8) []uint

KeysUintInt8 returns a slice of map's keys

func KeysUintStr

func KeysUintStr(m map[uint]string) []uint

KeysUintStr returns a slice of map's keys

func KeysUintUint16

func KeysUintUint16(m map[uint]uint16) []uint

KeysUintUint16 returns a slice of map's keys

func KeysUintUint32

func KeysUintUint32(m map[uint]uint32) []uint

KeysUintUint32 returns a slice of map's keys

func KeysUintUint64

func KeysUintUint64(m map[uint]uint64) []uint

KeysUintUint64 returns a slice of map's keys

func KeysUintUint8

func KeysUintUint8(m map[uint]uint8) []uint

KeysUintUint8 returns a slice of map's keys

func MapFlip

func MapFlip(m interface{}) map[interface{}]interface{}

Flip key and value in the map. If `m` is not a map that will cause panic.

func MergeIFMap

func MergeIFMap(src, dst map[int]float64)

MergeStringMap merge src to dst map

func MergeIIMap

func MergeIIMap(src, dst map[int]int)

MergeStringMap merge src to dst map

func MergeISMap

func MergeISMap(src, dst map[int]string)

MergeStringMap merge src to dst map

func MergeIUMap

func MergeIUMap(src, dst map[int]uint)

MergeStringMap merge src to dst map

func MergeSFMap

func MergeSFMap(src, dst map[string]float64, ignoreCase bool)

MergeStringMap merge src to dst map

func MergeSIMap

func MergeSIMap(src, dst map[string]int, ignoreCase bool)

MergeStringMap merge src to dst map

func MergeSSMap

func MergeSSMap(src, dst map[string]string, ignoreCase bool)

MergeStringMap merge src to dst map

func MergeSUMap

func MergeSUMap(src, dst map[string]uint, ignoreCase bool)

MergeStringMap merge src to dst map

func MergeUFMap

func MergeUFMap(src, dst map[uint]float64)

MergeStringMap merge src to dst map

func MergeUIMap

func MergeUIMap(src, dst map[uint]int)

MergeStringMap merge src to dst map

func MergeUSMap

func MergeUSMap(src, dst map[uint]string)

MergeStringMap merge src to dst map

func MergeUUMap

func MergeUUMap(src, dst map[uint]uint)

MergeStringMap merge src to dst map

func Values

func Values(m interface{}) []interface{}

Get all values in the map If `m` is not a map that will cause panic.

Types

This section is empty.

Jump to

Keyboard shortcuts

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