map2value

package
v0.0.0-...-31c3a0f Latest Latest
Warning

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

Go to latest
Published: May 15, 2020 License: Apache-2.0 Imports: 5 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MapToBytes

func MapToBytes(m map[string]interface{}, key string) ([]byte, error)

func MapToFloat32

func MapToFloat32(m map[string]interface{}, key string) (float32, error)

func MapToFloat32List

func MapToFloat32List(m map[string]interface{}, key string) ([]float32, error)

func MapToFloat64

func MapToFloat64(m map[string]interface{}, key string) (float64, error)

func MapToFloat64List

func MapToFloat64List(m map[string]interface{}, key string) ([]float64, error)

func MapToIndentJSON

func MapToIndentJSON(m interface{}) (string, error)

func MapToInt

func MapToInt(m map[string]interface{}, key string) (int, error)

func MapToInt16

func MapToInt16(m map[string]interface{}, key string) (int16, error)

func MapToInt16List

func MapToInt16List(m map[string]interface{}, key string) ([]int16, error)

func MapToInt32

func MapToInt32(m map[string]interface{}, key string) (int32, error)

func MapToInt32List

func MapToInt32List(m map[string]interface{}, key string) ([]int32, error)

func MapToInt64

func MapToInt64(m map[string]interface{}, key string) (int64, error)

func MapToInt64List

func MapToInt64List(m map[string]interface{}, key string) ([]int64, error)

func MapToInt8

func MapToInt8(m map[string]interface{}, key string) (int8, error)

func MapToInt8List

func MapToInt8List(m map[string]interface{}, key string) ([]int8, error)

func MapToList

func MapToList(m map[string]interface{}, key string) ([]interface{}, error)

func MapToMapStringInt32

func MapToMapStringInt32(m map[string]interface{}, key string) (map[string]int32, error)

func MapToMapStringInt64

func MapToMapStringInt64(m map[string]interface{}, key string) (map[string]int64, error)

func MapToMapStringInterface

func MapToMapStringInterface(m map[string]interface{}, key string) (map[string]interface{}, error)

func MapToMapStringUInt32

func MapToMapStringUInt32(m map[string]interface{}, key string) (map[string]uint32, error)

func MapToMapStringUInt64

func MapToMapStringUInt64(m map[string]interface{}, key string) (map[string]uint64, error)

func MapToNetIP

func MapToNetIP(d map[string]interface{}, key string) (net.IP, error)

func MapToNetPort

func MapToNetPort(d map[string]interface{}, key string) uint16

func MapToString

func MapToString(m map[string]interface{}, key string) (string, error)

func MapToStringList

func MapToStringList(m map[string]interface{}, key string) ([]string, error)

func MapToTime

func MapToTime(m map[string]interface{}, key string) (time.Time, error)

func MapToUInt16

func MapToUInt16(m map[string]interface{}, key string) (uint16, error)

func MapToUInt32

func MapToUInt32(m map[string]interface{}, key string) (uint32, error)

func MapToUInt64

func MapToUInt64(m map[string]interface{}, key string) (uint64, error)

func MapToUInt8

func MapToUInt8(m map[string]interface{}, key string) (uint8, error)

func MapToUint16List

func MapToUint16List(m map[string]interface{}, key string) ([]uint16, error)

func MapToUint32List

func MapToUint32List(m map[string]interface{}, key string) ([]uint32, error)

func MapToUint64List

func MapToUint64List(m map[string]interface{}, key string) ([]uint64, error)

func MapToUint8List

func MapToUint8List(m map[string]interface{}, key string) ([]uint8, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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