Documentation ¶
Index ¶
- func Bool(i interface{}) bool
- func Byte(i interface{}) byte
- func Bytes(i interface{}) []byte
- func BytesToStruct(data []byte, to interface{}) error
- func Float32(i interface{}) float32
- func Float32ToBytes(float float32) []byte
- func Float64(i interface{}) float64
- func Float64ToBytes(float float64) []byte
- func GetTimestamp() float64
- func Int(i interface{}) int
- func Int16(i interface{}) int16
- func Int32(i interface{}) int32
- func Int32s(i interface{}) []int32
- func Int64(i interface{}) int64
- func Int64s(i interface{}) []int64
- func Int8(i interface{}) int8
- func Ints(i interface{}) []int
- func Map(i interface{}) map[string]interface{}
- func MapInt(i interface{}) map[int]interface{}
- func MapString(i interface{}) map[string]string
- func Rune(i interface{}) rune
- func Runes(i interface{}) []rune
- func String(i interface{}) string
- func Strings(i interface{}) []string
- func Struct(model interface{}, data interface{})
- func StructToBytes(data interface{}) []byte
- func Time(i interface{}) time.Time
- func TimeString(i time.Time) string
- func Uint(i interface{}) uint
- func Uint16(i interface{}) uint16
- func Uint32(i interface{}) uint32
- func Uint32s(i interface{}) []uint32
- func Uint64(i interface{}) uint64
- func Uint64s(i interface{}) []uint64
- func Uint8(i interface{}) uint8
- func Uints(i interface{}) []uint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToStruct ¶
BytesToStruct Using gob encoding is generally used for "similar" two structure transmission binding or RPC communication
func Float32ToBytes ¶
Float32ToBytes converts <i> to []byte.
func Float64ToBytes ¶
Float64ToBytes converts <i> to []byte.
func Map ¶
func Map(i interface{}) map[string]interface{}
Map converts <i> to map[string]interface{}.
func MapInt ¶
func MapInt(i interface{}) map[int]interface{}
MapInt converts <i> to map[int]interface{}.
func Struct ¶
func Struct(model interface{}, data interface{})
Struct conversion binding model Bound model data Data
func StructToBytes ¶
func StructToBytes(data interface{}) []byte
StructToBytes Use gob encoding generally used for "similar" two structure transmission binding or RPC communication
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.