Documentation
¶
Index ¶
- func Add(a, b interface{}) interface{}
- func AddInt(a, b interface{}) int
- func Bool(v interface{}) bool
- func Div(a, b interface{}) interface{}
- func DivFloat(a, b interface{}) float64
- func Float32(v interface{}) (float32, error)
- func Float32Must(v interface{}) float32
- func Float64(v interface{}) (float64, error)
- func Float64Must(v interface{}) float64
- func Int(v interface{}) (int, error)
- func Int64(v interface{}) (int64, error)
- func Int64Must(v interface{}) int64
- func IntMust(v interface{}) int
- func IsFloat(v interface{}) bool
- func IsInt(v interface{}) bool
- func IsInteger(v interface{}) bool
- func IsNumber(v interface{}) bool
- func IsString(v interface{}) bool
- func Mod(a, b interface{}) interface{}
- func Mul(a, b interface{}) interface{}
- func String(v interface{}) string
- func Sub(a, b interface{}) interface{}
- func Uint64(v interface{}) (uint64, error)
- type Value
- func (v Value) AsByte() byte
- func (v Value) AsFloat64() float64
- func (v Value) AsInt() int
- func (v Value) AsInt8() int8
- func (v Value) AsInt16() int16
- func (v Value) AsInt32() int32
- func (v Value) AsInt64() int64
- func (v Value) Bool() bool
- func (v Value) Byte() (byte, error)
- func (v Value) ByteMust() byte
- func (v Value) Float32() (float32, error)
- func (v Value) Float32Must() float32
- func (v Value) Float64() (float64, error)
- func (v Value) Float64Must() float64
- func (v Value) Int() (int, error)
- func (v Value) Int8() (int8, error)
- func (v Value) Int8Must() int8
- func (v Value) Int16() (int16, error)
- func (v Value) Int16Must() int16
- func (v Value) Int32() (int32, error)
- func (v Value) Int32Must() int32
- func (v Value) Int64() (int64, error)
- func (v Value) Int64Must() int64
- func (v Value) IntMust() int
- func (v Value) IsFloat() bool
- func (v Value) IsInteger() bool
- func (v Value) IsMap() bool
- func (v Value) IsNumber() bool
- func (v Value) IsPtr() bool
- func (v Value) IsSlice() bool
- func (v Value) IsString() bool
- func (v Value) IsStruct() bool
- func (v Value) String() string
- func (v Value) Uint() (uint, error)
- func (v Value) Uint8() (uint8, error)
- func (v Value) Uint8Must() uint8
- func (v Value) Uint16() (uint16, error)
- func (v Value) Uint16Must() uint16
- func (v Value) Uint32() (uint32, error)
- func (v Value) Uint32Must() uint32
- func (v Value) Uint64() (uint64, error)
- func (v Value) Uint64Must() uint64
- func (v Value) UintMust() uint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Float32Must ¶
func Float32Must(v interface{}) float32
func Float64Must ¶
func Float64Must(v interface{}) float64
Types ¶
type Value ¶ added in v1.0.8
type Value struct {
V interface{}
}
func (Value) Float32Must ¶ added in v1.0.8
func (Value) Float64Must ¶ added in v1.0.8
func (Value) Uint16Must ¶ added in v1.0.8
func (Value) Uint32Must ¶ added in v1.0.8
func (Value) Uint64Must ¶ added in v1.0.8
Click to show internal directories.
Click to hide internal directories.