Documentation ¶
Overview ¶
Provides convenient types conversion functions.
Index ¶
- Variables
- func Bool(value interface{}) bool
- func Byte(num interface{}) byte
- func Float32(num interface{}) float32
- func Float64(num interface{}) float64
- func Int(num interface{}) int
- func Int32(num interface{}) int32
- func Int64(num interface{}) int64
- func IsNumber(i interface{}) bool
- func Number(value interface{}, kind reflect.Kind) interface{}
- func SiMap(i interface{}) map[string]interface{}
- func String(i interface{}, defaultString ...string) string
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.