Documentation
¶
Index ¶
- func GetBoolValue(m map[string]interface{}, k string) (bool, error)
- func GetFloat32Value(m map[string]interface{}, k string) (float32, error)
- func GetFloat64Value(m map[string]interface{}, k string) (float64, error)
- func GetInt8Value(m map[string]interface{}, k string) (int8, error)
- func GetInt16Value(m map[string]interface{}, k string) (int16, error)
- func GetInt32Value(m map[string]interface{}, k string) (int32, error)
- func GetInt64Value(m map[string]interface{}, k string) (int64, error)
- func GetIntValue(m map[string]interface{}, k string) (int, error)
- func GetStringValue(m map[string]interface{}, k string) (string, error)
- func GetUint8Value(m map[string]interface{}, k string) (uint8, error)
- func GetUint16Value(m map[string]interface{}, k string) (uint16, error)
- func GetUint32Value(m map[string]interface{}, k string) (uint32, error)
- func GetUint64Value(m map[string]interface{}, k string) (uint64, error)
- func GetUintValue(m map[string]interface{}, k string) (uint, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBoolValue ¶
GetBoolValue - Search the map for k, and return its value as bool. The value in JSON can be - bool values: true, True, TRUE, false, False, FALSE - int values: 0, 1 - string values: "true", "True", "TRUE", fa"lse, "False", "FALSE", "0", "1"
func GetFloat32Value ¶
GetFloat32Value - Search the map for k, and return its value as float32.
func GetFloat64Value ¶
GetFloat64Value - Search the map for k, and return its value as float64.
func GetInt8Value ¶
GetInt8Value - Search the map for k, and return its value as int8.
func GetInt16Value ¶
GetInt16Value - Search the map for k, and return its value as int16.
func GetInt32Value ¶
GetInt32Value - Search the map for k, and return its value as int32.
func GetInt64Value ¶
GetInt64Value - Search the map for k, and return its value as int64.
func GetIntValue ¶
GetIntValue - Search the map for k, and return its value as int.
Types ¶
This section is empty.