Documentation ¶
Overview ¶
map api操作库
Index ¶
- func Clone(m map[string]interface{}, fields ...interface{}) map[string]interface{}
- func GetArray(m map[string]interface{}, key string) []interface{}
- func GetFloat32(m map[string]interface{}, key string) float32
- func GetFloat32Def(m map[string]interface{}, key string, def float32) float32
- func GetFloat64(m map[string]interface{}, key string) float64
- func GetFloat64Def(m map[string]interface{}, key string, def float64) float64
- func GetInt(m map[string]interface{}, key string) int
- func GetInt16(m map[string]interface{}, key string, def int16) int16
- func GetInt32(m map[string]interface{}, key string) int32
- func GetInt32Def(m map[string]interface{}, key string, def int32) int32
- func GetInt64(m map[string]interface{}, key string) int64
- func GetInt64Def(m map[string]interface{}, key string, def int64) int64
- func GetInt8(m map[string]interface{}, key string) int8
- func GetInt8Def(m map[string]interface{}, key string, def int8) int8
- func GetIntDef(m map[string]interface{}, key string, def int) int
- func GetMap(m map[string]interface{}, key string) map[string]interface{}
- func GetObject(m map[string]interface{}, key string) interface{}
- func GetStr(m map[string]interface{}, key string) string
- func GetStrDef(m map[string]interface{}, key string, def string) string
- func GetTime(m map[string]interface{}, key string, def time.Time) time.Time
- func GetUint16(m map[string]interface{}, key string) uint16
- func GetUint16Def(m map[string]interface{}, key string, def uint16) uint16
- func GetUint32(m map[string]interface{}, key string) uint32
- func GetUint32Def(m map[string]interface{}, key string, def uint32) uint32
- func GetUint64(m map[string]interface{}, key string) uint64
- func GetUint64Def(m map[string]interface{}, key string, def uint64) uint64
- func GetUint8(m map[string]interface{}, key string) uint8
- func GetUint8Def(m map[string]interface{}, key string, def uint8) uint8
- func GetUintDef(m map[string]interface{}, key string, def uint) uint
- func ToKeyString(m map[string]interface{}) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFloat32 ¶
func GetFloat64 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.