Documentation
¶
Index ¶
- Constants
- func ParseBool(s string) (v bool, ok bool)
- func ParseComplex(s string) (v complex128, ok bool)
- func ParseComplex64(s string) (v complex64, ok bool)
- func ParseFloat32(s string) (v float32, ok bool)
- func ParseFloat64(s string) (v float64, ok bool)
- func ParseInt(s string) (v int, ok bool)
- func ParseInt16(s string) (v int16, ok bool)
- func ParseInt32(s string) (v int32, ok bool)
- func ParseInt64(s string) (v int64, ok bool)
- func ParseInt8(s string) (v int8, ok bool)
- func ParseTime(s string) (v time.Time, ok bool)
- func ParseUint(s string) (v uint, ok bool)
- func ParseUint16(s string) (v uint16, ok bool)
- func ParseUint32(s string) (v uint32, ok bool)
- func ParseUint64(s string) (v uint64, ok bool)
- func ParseUint8(s string) (v uint8, ok bool)
- func ParseUintptr(s string) (v uintptr, ok bool)
- type Category
- type Number
- func (n Number) F32() *float32
- func (n Number) F64() *float64
- func (n Number) Get(kind reflect.Kind) (v any, ok bool)
- func (n Number) I() *int
- func (n Number) I16() *int16
- func (n Number) I32() *int32
- func (n Number) I64() *int64
- func (n Number) I8() *int8
- func (n Number) S() string
- func (n Number) U() *uint
- func (n Number) U16() *uint16
- func (n Number) U32() *uint32
- func (n Number) U64() *uint64
- func (n Number) U8() *uint8
- func (n Number) UPtr() *uintptr
- type Type
Constants ¶
View Source
const ( Null = Category(0) Bool = Category(1) Num = Category(2) Time = Category(3) Text = Category(4) )
View Source
const ( KStdTime reflect.Kind = _DefKind + 1 KStdTimePtr reflect.Kind = _DefKind + 2 KBytes reflect.Kind = _DefKind + 3 KBytesPtr reflect.Kind = _DefKind + 4 KJSONRaw reflect.Kind = _DefKind + 5 KJSONRawPtr reflect.Kind = _DefKind + 6 KUUID reflect.Kind = _DefKind + 7 KUUIDPtr reflect.Kind = _DefKind + 8 KRawBytes reflect.Kind = _DefKind + 9 KRawBytesPtr reflect.Kind = _DefKind + 10 KNullString reflect.Kind = _DefKind + 11 KNullStringPtr reflect.Kind = _DefKind + 12 KUnderlyingNullString reflect.Kind = _DefKind + 13 KNullInt64 reflect.Kind = _DefKind + 14 KNullInt64Ptr reflect.Kind = _DefKind + 15 KUnderlyingNullInt64 reflect.Kind = _DefKind + 16 KNullInt32 reflect.Kind = _DefKind + 17 KNullInt32Ptr reflect.Kind = _DefKind + 18 KUnderlyingNullInt32 reflect.Kind = _DefKind + 19 KNullInt16 reflect.Kind = _DefKind + 20 KNullInt16Ptr reflect.Kind = _DefKind + 21 KUnderlyingNullInt16 reflect.Kind = _DefKind + 22 KNullByte reflect.Kind = _DefKind + 23 KNullBytePtr reflect.Kind = _DefKind + 24 KUnderlyingNullByte reflect.Kind = _DefKind + 25 KNullFloat64 reflect.Kind = _DefKind + 26 KNullFloat64Ptr reflect.Kind = _DefKind + 27 KUnderlyingNullFloat64 reflect.Kind = _DefKind + 28 KNullBool reflect.Kind = _DefKind + 29 KNullBoolPtr reflect.Kind = _DefKind + 30 KUnderlyingNullBool reflect.Kind = _DefKind + 31 KNullTime reflect.Kind = _DefKind + 32 KNullTimePtr reflect.Kind = _DefKind + 33 KUnderlyingNullTime reflect.Kind = _DefKind + 34 )
Variables ¶
This section is empty.
Functions ¶
func ParseComplex ¶
func ParseComplex(s string) (v complex128, ok bool)
func ParseComplex64 ¶
func ParseFloat32 ¶
func ParseFloat64 ¶
func ParseInt16 ¶
func ParseInt32 ¶
func ParseInt64 ¶
func ParseUint16 ¶
func ParseUint32 ¶
func ParseUint64 ¶
func ParseUint8 ¶
func ParseUintptr ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.