Documentation ¶
Index ¶
- func FromString(s string) interface{}
- func IsInteger(v interface{}) bool
- func IsNumeric(v interface{}) bool
- func IsScalar(v interface{}) bool
- func IsScalarStrict(v interface{}) bool
- func ToBool(v interface{}) bool
- func ToByte(v interface{}) byte
- func ToComplex128(v interface{}) complex128
- func ToFloat64(v interface{}) float64
- func ToFloat64Suffix(v interface{}) float64
- func ToInt64(v interface{}) int64
- func ToInt64Suffix(v interface{}) int64
- func ToNumeric(v interface{}) (i int64, f float64, isint bool)
- func ToString(v interface{}) string
- func ToUint64(v interface{}) uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromString ¶
func FromString(s string) interface{}
FromString attempts to identify a supported type in s, and converts to it
func IsScalarStrict ¶
func IsScalarStrict(v interface{}) bool
func ToComplex128 ¶
func ToComplex128(v interface{}) complex128
func ToFloat64Suffix ¶
func ToFloat64Suffix(v interface{}) float64
func ToInt64Suffix ¶
func ToInt64Suffix(v interface{}) int64
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.