Documentation ¶
Index ¶
- 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 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 ¶
This section is empty.
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.