Documentation ¶
Index ¶
- func ParseBool(o interface{}) bool
- func ParseFloat32(o interface{}) float32
- func ParseFloat64(o interface{}) (res float64)
- func ParseInt(o interface{}) int
- func ParseInt16(o interface{}) (res int16)
- func ParseInt32(o interface{}) (res int32)
- func ParseInt64(o interface{}) (res int64)
- func ParseInt8(o interface{}) (res int8)
- func ParseString(o interface{}) string
- func ParseUint(o interface{}) uint
- func ParseUint16(o interface{}) uint16
- func ParseUint32(o interface{}) uint32
- func ParseUint64(o interface{}) uint64
- func ParseUint8(o interface{}) uint8
- type Map
- type MapInt64
- type MapInterface
- type MapString
- type MapStringInterface
- type Slice
- type SliceInt64
- type SliceInterface
- type SliceString
- type T
- type Type
- func (t Type) Bool() bool
- func (t Type) Float32() float32
- func (t Type) Float64() float64
- func (t Type) Int() int
- func (t Type) Int16() int16
- func (t Type) Int32() int32
- func (t Type) Int64() int64
- func (t Type) Int8() int8
- func (t Type) Interface() interface{}
- func (t Type) Map() Map
- func (t Type) MapInt64() MapInt64
- func (t Type) MapInterface() MapInterface
- func (t Type) MapString() MapString
- func (t Type) MapStringInterface() map[string]interface{}
- func (t Type) Slice() Slice
- func (t Type) SliceInt64() []int64
- func (t Type) SliceInterface() []interface{}
- func (t Type) SliceMapStringInterface() []map[string]interface{}
- func (t Type) SliceString() []string
- func (t Type) String() string
- func (t Type) Uint() uint
- func (t Type) Uint16() uint16
- func (t Type) Uint32() uint32
- func (t Type) Uint64() uint64
- func (t Type) Uint8() uint8
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseFloat32 ¶
func ParseFloat32(o interface{}) float32
func ParseFloat64 ¶
func ParseFloat64(o interface{}) (res float64)
func ParseInt16 ¶
func ParseInt16(o interface{}) (res int16)
func ParseInt32 ¶
func ParseInt32(o interface{}) (res int32)
func ParseInt64 ¶
func ParseInt64(o interface{}) (res int64)
func ParseString ¶
func ParseString(o interface{}) string
func ParseUint16 ¶
func ParseUint16(o interface{}) uint16
func ParseUint32 ¶
func ParseUint32(o interface{}) uint32
func ParseUint64 ¶
func ParseUint64(o interface{}) uint64
func ParseUint8 ¶
func ParseUint8(o interface{}) uint8
Types ¶
type MapInterface ¶ added in v0.0.4
type MapInterface map[interface{}]T
type MapStringInterface ¶ added in v0.0.5
type MapStringInterface map[string]interface{}
type SliceInt64 ¶ added in v0.0.4
type SliceInt64 []int64
type SliceInterface ¶ added in v0.0.4
type SliceInterface []interface{}
type SliceString ¶ added in v0.0.4
type SliceString []string
type T ¶
type T interface { Interface() interface{} String() string Float64() float64 Float32() float32 Int64() int64 Int() int Int32() int32 Int16() int16 Int8() int8 Uint64() uint64 Uint() uint Uint32() uint32 Uint16() uint16 Uint8() uint8 Bool() bool Slice() Slice SliceInterface() []interface{} SliceMapStringInterface() []map[string]interface{} SliceString() []string SliceInt64() []int64 Map() Map MapInterface() MapInterface MapString() MapString MapInt64() MapInt64 MapStringInterface() map[string]interface{} }
type Type ¶
type Type struct {
// contains filtered or unexported fields
}
func (Type) MapInterface ¶ added in v0.0.4
func (t Type) MapInterface() MapInterface
func (Type) MapStringInterface ¶ added in v0.0.5
func (Type) SliceInt64 ¶ added in v0.0.4
func (Type) SliceInterface ¶ added in v0.0.4
func (t Type) SliceInterface() []interface{}
func (Type) SliceMapStringInterface ¶ added in v0.0.5
func (Type) SliceString ¶ added in v0.0.4
Click to show internal directories.
Click to hide internal directories.