Documentation ¶
Index ¶
- Constants
- func ToBool(obj interface{}) (val bool, err error)
- func ToFloat64(obj interface{}) (val float64, err error)
- func ToInt(obj interface{}) (val int, err error)
- func ToInt16(obj interface{}) (val int16, err error)
- func ToInt32(obj interface{}) (val int32, err error)
- func ToInt64(obj interface{}) (val int64, err error)
- func ToInt8(obj interface{}) (val int8, err error)
- func ToString(obj interface{}) (str string, err error)
- func ToUint(obj interface{}) (val uint, err error)
- func ToUint16(obj interface{}) (val uint16, err error)
- func ToUint32(obj interface{}) (val uint32, err error)
- func ToUint64(obj interface{}) (val uint64, err error)
- func ToUint8(obj interface{}) (val uint8, err error)
- func ToValue(obj interface{}) (val driver.Value, err error)
Constants ¶
View Source
const MaxInt = int64(int(^uint(0) >> 1))
MaxInt defines the maximum size of an int.
View Source
const MaxUint = uint64(^uint(0))
MaxUint defines the maximum size of a uint.
View Source
const MinInt = -MaxInt - 1
MinInt defines the minimum size of an int.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.