Versions in this module Expand all Collapse all v2 v2.2.1 Oct 15, 2021 v2.2.0 Oct 2, 2021 v2.1.0 Sep 23, 2021 v2.0.1 Aug 22, 2019 Changes in this version + const MaxFloat32 + const MaxFloat64 + const MaxInt + const MaxInt16 + const MaxInt32 + const MaxInt64 + const MaxInt8 + const MaxSafeIntFloat32 + const MaxSafeIntFloat64 + const MaxUint + const MaxUint16 + const MaxUint32 + const MaxUint64 + const MaxUint8 + const MinFloat32 + const MinFloat64 + const MinInt + const MinInt16 + const MinInt32 + const MinInt64 + const MinInt8 + const MinSafeIntFloat32 + const MinSafeIntFloat64 + var ErrBaseInvalid = ErrorInvalidArgument(errors.New("base option must be in range 2 <= base <= 36")) + var ErrConvert = ErrorConvert(errors.New("value can't safely convert")) + var ErrDefaultValue = ErrorInvalidArgument(errors.New("default value is ambiguous")) + var ErrFmtByteInvalid = ErrorInvalidArgument(errors.New("fmtByte option must be one of 'b', 'e', 'E', 'f', 'g', 'G'")) + var ErrInvalidArgument = ErrorInvalidArgument(errors.New("invalid argument")) + var ErrOutOfBounds = ErrorOutOfBounds(errors.New("out of bounds on given data")) + var ErrOutOfRange = ErrorOutOfRange(errors.New("out of range on given data")) + var ErrUnexpectedValue = ErrorUnexpectedValue(errors.New("unexpected value given on data")) + func BoolSlice(null []BoolAccessor, valid bool) []bool + func Complex64Slice(null []Complex64Accessor, valid bool) []complex64 + func ComplexSlice(null []ComplexAccessor, valid bool) []complex128 + func Float32Slice(null []Float32Accessor, valid bool) []float32 + func FloatSlice(null []FloatAccessor, valid bool) []float64 + func Int16Slice(null []Int16Accessor, valid bool) []int16 + func Int32Slice(null []Int32Accessor, valid bool) []int32 + func Int64Slice(null []Int64Accessor, valid bool) []int64 + func Int8Slice(null []Int8Accessor, valid bool) []int8 + func IntSlice(null []IntAccessor, valid bool) []int + func InterfaceSlice(null []InterfaceAccessor, valid bool) []interface + func NumericToString(v interface{}, base int, fmtByte byte, prec int) string + func StringSlice(null []StringAccessor, valid bool) []string + func TimeSlice(null []TimeAccessor, valid bool) []time.Time + func Uint16Slice(null []Uint16Accessor, valid bool) []uint16 + func Uint32Slice(null []Uint32Accessor, valid bool) []uint32 + func Uint64Slice(null []Uint64Accessor, valid bool) []uint64 + func Uint8Slice(null []Uint8Accessor, valid bool) []uint8 + func UintSlice(null []UintAccessor, valid bool) []uint + type BoolAccessor interface + Clone func() BoolAccessor + Set func(value bool) + V func() bool + func NBool(value bool) BoolAccessor + func NNBool(value bool) BoolAccessor + func StringBoolHumanize(from string) BoolAccessor + type BoolCommon struct + Error error + P *bool + func (n *BoolCommon) Scan(value interface{}) error + func (n *BoolCommon) Set(value bool) + func (n *BoolCommon) UnmarshalJSON(b []byte) error + func (n BoolCommon) Err() error + func (n BoolCommon) MarshalJSON() ([]byte, error) + func (n BoolCommon) Present() bool + func (n BoolCommon) Typ(options ...Option) *Type + func (n BoolCommon) V() bool + func (n BoolCommon) Valid() bool + func (n BoolCommon) Value() (driver.Value, error) + type Common interface + Err func() error + Present func() bool + Typ func(options ...Option) *Type + Valid func() bool + type Complex64Accessor interface + Clone func() Complex64Accessor + Set func(value complex64) + V func() complex64 + func Complex64(from complex128, defaultValue ...complex64) Complex64Accessor + func Float32Complex64(from float32, defaultValue ...complex64) Complex64Accessor + func FloatComplex64(from float64, defaultValue ...complex64) Complex64Accessor + func IntComplex64(from int64, defaultValue ...complex64) Complex64Accessor + func NComplex64(value complex64) Complex64Accessor + func NNComplex64(value complex64) Complex64Accessor + func StringComplex64(from string, defaultValue ...complex64) Complex64Accessor + func UintComplex64(from uint64, defaultValue ...complex64) Complex64Accessor + type Complex64Common struct + Error error + P *complex64 + func (n *Complex64Common) Scan(value interface{}) error + func (n *Complex64Common) Set(value complex64) + func (n *Complex64Common) UnmarshalJSON(b []byte) error + func (n Complex64Common) Err() error + func (n Complex64Common) MarshalJSON() ([]byte, error) + func (n Complex64Common) Present() bool + func (n Complex64Common) Typ(options ...Option) *Type + func (n Complex64Common) V() complex64 + func (n Complex64Common) Valid() bool + func (n Complex64Common) Value() (driver.Value, error) + type ComplexAccessor interface + Clone func() ComplexAccessor + Set func(value complex128) + V func() complex128 + func IntComplex(from int64, defaultValue ...complex128) ComplexAccessor + func NComplex(value complex128) ComplexAccessor + func NNComplex(value complex128) ComplexAccessor + func StringComplex(from string, defaultValue ...complex128) ComplexAccessor + func UintComplex(from uint64, defaultValue ...complex128) ComplexAccessor + type ComplexCommon struct + Error error + P *complex128 + func (n *ComplexCommon) Scan(value interface{}) error + func (n *ComplexCommon) Set(value complex128) + func (n *ComplexCommon) UnmarshalJSON(b []byte) error + func (n ComplexCommon) Err() error + func (n ComplexCommon) MarshalJSON() ([]byte, error) + func (n ComplexCommon) Present() bool + func (n ComplexCommon) Typ(options ...Option) *Type + func (n ComplexCommon) V() complex128 + func (n ComplexCommon) Valid() bool + func (n ComplexCommon) Value() (driver.Value, error) + type ComplexStringOption func(*complexStrOpts) error + func ComplexStringDefault(value string) ComplexStringOption + type ErrorConvert error + type ErrorInvalidArgument error + type ErrorOutOfBounds error + type ErrorOutOfRange error + type ErrorPanic error + type ErrorUnexpectedValue error + type Float32Accessor interface + Clone func() Float32Accessor + Set func(value float32) + V func() float32 + func Complex64Float32(from complex64, defaultValue ...float32) Float32Accessor + func ComplexFloat32(from complex128, defaultValue ...float32) Float32Accessor + func Float32(from float64, defaultValue ...float32) Float32Accessor + func IntFloat32(from int64, defaultValue ...float32) Float32Accessor + func NFloat32(value float32) Float32Accessor + func NNFloat32(value float32) Float32Accessor + func StringFloat32(from string, defaultValue ...float32) Float32Accessor + func UintFloat32(from uint64, defaultValue ...float32) Float32Accessor + type Float32Common struct + Error error + P *float32 + func (n *Float32Common) Scan(value interface{}) error + func (n *Float32Common) Set(value float32) + func (n *Float32Common) UnmarshalJSON(b []byte) error + func (n Float32Common) Err() error + func (n Float32Common) MarshalJSON() ([]byte, error) + func (n Float32Common) Present() bool + func (n Float32Common) Typ(options ...Option) *Type + func (n Float32Common) V() float32 + func (n Float32Common) Valid() bool + func (n Float32Common) Value() (driver.Value, error) + type FloatAccessor interface + Clone func() FloatAccessor + Set func(value float64) + V func() float64 + func Complex64Float64(from complex64, defaultValue ...float64) FloatAccessor + func ComplexFloat64(from complex128, defaultValue ...float64) FloatAccessor + func IntFloat(from int64, defaultValue ...float64) FloatAccessor + func NFloat(value float64) FloatAccessor + func NNFloat(value float64) FloatAccessor + func StringFloat(from string, defaultValue ...float64) FloatAccessor + func UintFloat(from uint64, defaultValue ...float64) FloatAccessor + type FloatCommon struct + Error error + P *float64 + func (n *FloatCommon) Scan(value interface{}) error + func (n *FloatCommon) Set(value float64) + func (n *FloatCommon) UnmarshalJSON(b []byte) error + func (n FloatCommon) Err() error + func (n FloatCommon) MarshalJSON() ([]byte, error) + func (n FloatCommon) Present() bool + func (n FloatCommon) Typ(options ...Option) *Type + func (n FloatCommon) V() float64 + func (n FloatCommon) Valid() bool + func (n FloatCommon) Value() (driver.Value, error) + type FloatStringOption func(*floatStrOpts) error + func FloatStringBitSize(value int) FloatStringOption + func FloatStringDefault(value string) FloatStringOption + func FloatStringFmtByte(value byte) FloatStringOption + func FloatStringPrecision(value int) FloatStringOption + type Int16Accessor interface + Clone func() Int16Accessor + Set func(value int16) + V func() int16 + func Complex64Int16(from complex64, defaultValue ...int16) Int16Accessor + func ComplexInt16(from complex128, defaultValue ...int16) Int16Accessor + func Float32Int16(from float32, defaultValue ...int16) Int16Accessor + func FloatInt16(from float64, defaultValue ...int16) Int16Accessor + func Int16(from int64, defaultValue ...int16) Int16Accessor + func NInt16(value int16) Int16Accessor + func NNInt16(value int16) Int16Accessor + func StringInt16(from string, defaultValue ...int16) Int16Accessor + func UintInt16(from uint64, defaultValue ...int16) Int16Accessor + type Int16Common struct + Error error + P *int16 + func (n *Int16Common) Scan(value interface{}) error + func (n *Int16Common) Set(value int16) + func (n *Int16Common) UnmarshalJSON(b []byte) error + func (n Int16Common) Err() error + func (n Int16Common) MarshalJSON() ([]byte, error) + func (n Int16Common) Present() bool + func (n Int16Common) Typ(options ...Option) *Type + func (n Int16Common) V() int16 + func (n Int16Common) Valid() bool + func (n Int16Common) Value() (driver.Value, error) + type Int32Accessor interface + Clone func() Int32Accessor + Set func(value int32) + V func() int32 + func Complex64Int32(from complex64, defaultValue ...int32) Int32Accessor + func ComplexInt32(from complex128, defaultValue ...int32) Int32Accessor + func Float32Int32(from float32, defaultValue ...int32) Int32Accessor + func FloatInt32(from float64, defaultValue ...int32) Int32Accessor + func Int32(from int64, defaultValue ...int32) Int32Accessor + func NInt32(value int32) Int32Accessor + func NNInt32(value int32) Int32Accessor + func StringInt32(from string, defaultValue ...int32) Int32Accessor + func UintInt32(from uint64, defaultValue ...int32) Int32Accessor + type Int32Common struct + Error error + P *int32 + func (n *Int32Common) Scan(value interface{}) error + func (n *Int32Common) Set(value int32) + func (n *Int32Common) UnmarshalJSON(b []byte) error + func (n Int32Common) Err() error + func (n Int32Common) MarshalJSON() ([]byte, error) + func (n Int32Common) Present() bool + func (n Int32Common) Typ(options ...Option) *Type + func (n Int32Common) V() int32 + func (n Int32Common) Valid() bool + func (n Int32Common) Value() (driver.Value, error) + type Int64Accessor interface + Clone func() Int64Accessor + Set func(value int64) + V func() int64 + func Complex64Int64(from complex64, defaultValue ...int64) Int64Accessor + func ComplexInt64(from complex128, defaultValue ...int64) Int64Accessor + func Float32Int64(from float32, defaultValue ...int64) Int64Accessor + func FloatInt64(from float64, defaultValue ...int64) Int64Accessor + func NInt64(value int64) Int64Accessor + func NNInt64(value int64) Int64Accessor + func StringInt64(from string, defaultValue ...int64) Int64Accessor + func UintInt64(from uint64, defaultValue ...int64) Int64Accessor + type Int64Common struct + Error error + P *int64 + func (n *Int64Common) Scan(value interface{}) error + func (n *Int64Common) Set(value int64) + func (n *Int64Common) UnmarshalJSON(b []byte) error + func (n Int64Common) Err() error + func (n Int64Common) MarshalJSON() ([]byte, error) + func (n Int64Common) Present() bool + func (n Int64Common) Typ(options ...Option) *Type + func (n Int64Common) V() int64 + func (n Int64Common) Valid() bool + func (n Int64Common) Value() (driver.Value, error) + type Int8Accessor interface + Clone func() Int8Accessor + Set func(value int8) + V func() int8 + func Complex64Int8(from complex64, defaultValue ...int8) Int8Accessor + func ComplexInt8(from complex128, defaultValue ...int8) Int8Accessor + func Float32Int8(from float32, defaultValue ...int8) Int8Accessor + func FloatInt8(from float64, defaultValue ...int8) Int8Accessor + func Int8(from int64, defaultValue ...int8) Int8Accessor + func NInt8(value int8) Int8Accessor + func NNInt8(value int8) Int8Accessor + func StringInt8(from string, defaultValue ...int8) Int8Accessor + func UintInt8(from uint64, defaultValue ...int8) Int8Accessor + type Int8Common struct + Error error + P *int8 + func (n *Int8Common) Scan(value interface{}) error + func (n *Int8Common) Set(value int8) + func (n *Int8Common) UnmarshalJSON(b []byte) error + func (n Int8Common) Err() error + func (n Int8Common) MarshalJSON() ([]byte, error) + func (n Int8Common) Present() bool + func (n Int8Common) Typ(options ...Option) *Type + func (n Int8Common) V() int8 + func (n Int8Common) Valid() bool + func (n Int8Common) Value() (driver.Value, error) + type IntAccessor interface + Clone func() IntAccessor + Set func(value int) + V func() int + func Complex64Int(from complex64, defaultValue ...int) IntAccessor + func ComplexInt(from complex128, defaultValue ...int) IntAccessor + func Float32Int(from float32, defaultValue ...int) IntAccessor + func FloatInt(from float64, defaultValue ...int) IntAccessor + func NInt(value int) IntAccessor + func NNInt(value int) IntAccessor + func StringInt(from string, defaultValue ...int) IntAccessor + type IntCommon struct + Error error + P *int + func (n *IntCommon) Scan(value interface{}) error + func (n *IntCommon) Set(value int) + func (n *IntCommon) UnmarshalJSON(b []byte) error + func (n IntCommon) Err() error + func (n IntCommon) MarshalJSON() ([]byte, error) + func (n IntCommon) Present() bool + func (n IntCommon) Typ(options ...Option) *Type + func (n IntCommon) V() int + func (n IntCommon) Valid() bool + func (n IntCommon) Value() (driver.Value, error) + type IntStringOption func(*intStrOpts) error + func IntStringBase(value int) IntStringOption + func IntStringDefault(value string) IntStringOption + type InterfaceAccessor interface + Clone func() InterfaceAccessor + Set func(value interface{}) + V func() interface{} + func NInterface(value interface{}) InterfaceAccessor + func NNInterface(value interface{}) InterfaceAccessor + type InterfaceCommon struct + Error error + P interface{} + func (n *InterfaceCommon) Scan(value interface{}) error + func (n *InterfaceCommon) Set(value interface{}) + func (n *InterfaceCommon) UnmarshalJSON(b []byte) error + func (n InterfaceCommon) Err() error + func (n InterfaceCommon) MarshalJSON() ([]byte, error) + func (n InterfaceCommon) Present() bool + func (n InterfaceCommon) Typ(options ...Option) *Type + func (n InterfaceCommon) V() interface{} + func (n InterfaceCommon) Valid() bool + func (n InterfaceCommon) Value() (driver.Value, error) + type NotNullBool struct + func (n NotNullBool) Clone() BoolAccessor + type NotNullComplex struct + func (n NotNullComplex) Clone() ComplexAccessor + type NotNullComplex64 struct + func (n NotNullComplex64) Clone() Complex64Accessor + type NotNullFloat struct + func (n NotNullFloat) Clone() FloatAccessor + type NotNullFloat32 struct + func (n NotNullFloat32) Clone() Float32Accessor + type NotNullInt struct + func (n NotNullInt) Clone() IntAccessor + type NotNullInt16 struct + func (n NotNullInt16) Clone() Int16Accessor + type NotNullInt32 struct + func (n NotNullInt32) Clone() Int32Accessor + type NotNullInt64 struct + func (n NotNullInt64) Clone() Int64Accessor + type NotNullInt8 struct + func (n NotNullInt8) Clone() Int8Accessor + type NotNullInterface struct + func (n NotNullInterface) Clone() InterfaceAccessor + type NotNullString struct + func (n NotNullString) Clone() StringAccessor + type NotNullTime struct + func (n NotNullTime) Clone() TimeAccessor + type NotNullUint struct + func (n NotNullUint) Clone() UintAccessor + type NotNullUint16 struct + func (n NotNullUint16) Clone() Uint16Accessor + type NotNullUint32 struct + func (n NotNullUint32) Clone() Uint32Accessor + type NotNullUint64 struct + func (n NotNullUint64) Clone() Uint64Accessor + type NotNullUint8 struct + func (n NotNullUint8) Clone() Uint8Accessor + type NullBool struct + func (n NullBool) Clone() BoolAccessor + func (n NullBool) MarshalJSON() ([]byte, error) + func (n NullBool) Value() (driver.Value, error) + type NullComplex struct + func (n NullComplex) Clone() ComplexAccessor + func (n NullComplex) MarshalJSON() ([]byte, error) + func (n NullComplex) Value() (driver.Value, error) + type NullComplex64 struct + func (n NullComplex64) Clone() Complex64Accessor + func (n NullComplex64) MarshalJSON() ([]byte, error) + func (n NullComplex64) Value() (driver.Value, error) + type NullFloat struct + func (n NullFloat) Clone() FloatAccessor + func (n NullFloat) MarshalJSON() ([]byte, error) + func (n NullFloat) Value() (driver.Value, error) + type NullFloat32 struct + func (n NullFloat32) Clone() Float32Accessor + func (n NullFloat32) MarshalJSON() ([]byte, error) + func (n NullFloat32) Value() (driver.Value, error) + type NullInt struct + func (n NullInt) Clone() IntAccessor + func (n NullInt) MarshalJSON() ([]byte, error) + func (n NullInt) Value() (driver.Value, error) + type NullInt16 struct + func (n NullInt16) Clone() Int16Accessor + func (n NullInt16) MarshalJSON() ([]byte, error) + func (n NullInt16) Value() (driver.Value, error) + type NullInt32 struct + func (n NullInt32) Clone() Int32Accessor + func (n NullInt32) MarshalJSON() ([]byte, error) + func (n NullInt32) Value() (driver.Value, error) + type NullInt64 struct + func (n NullInt64) Clone() Int64Accessor + func (n NullInt64) MarshalJSON() ([]byte, error) + func (n NullInt64) Value() (driver.Value, error) + type NullInt8 struct + func (n NullInt8) Clone() Int8Accessor + func (n NullInt8) MarshalJSON() ([]byte, error) + func (n NullInt8) Value() (driver.Value, error) + type NullInterface struct + func (n NullInterface) Clone() InterfaceAccessor + func (n NullInterface) MarshalJSON() ([]byte, error) + func (n NullInterface) Value() (driver.Value, error) + type NullString struct + func (n NullString) Clone() StringAccessor + func (n NullString) MarshalJSON() ([]byte, error) + func (n NullString) Value() (driver.Value, error) + type NullTime struct + func (n NullTime) Clone() TimeAccessor + func (n NullTime) MarshalJSON() ([]byte, error) + func (n NullTime) Value() (driver.Value, error) + type NullUint struct + func (n NullUint) Clone() UintAccessor + func (n NullUint) MarshalJSON() ([]byte, error) + func (n NullUint) Value() (driver.Value, error) + type NullUint16 struct + func (n NullUint16) Clone() Uint16Accessor + func (n NullUint16) MarshalJSON() ([]byte, error) + func (n NullUint16) Value() (driver.Value, error) + type NullUint32 struct + func (n NullUint32) Clone() Uint32Accessor + func (n NullUint32) MarshalJSON() ([]byte, error) + func (n NullUint32) Value() (driver.Value, error) + type NullUint64 struct + func (n NullUint64) Clone() Uint64Accessor + func (n NullUint64) MarshalJSON() ([]byte, error) + func (n NullUint64) Value() (driver.Value, error) + type NullUint8 struct + func (n NullUint8) Clone() Uint8Accessor + func (n NullUint8) MarshalJSON() ([]byte, error) + func (n NullUint8) Value() (driver.Value, error) + type Option func(*opts) error + func Base(value int) Option + func Delimiter(value string) Option + func FmtByte(value byte) Option + func Precision(value int) Option + func Prefix(value string) Option + func Suffix(value string) Option + type StringAccessor interface + Clone func() StringAccessor + Set func(value string) + V func() string + func BoolString(from bool) StringAccessor + func ComplexString(from complex128, options ...ComplexStringOption) StringAccessor + func Concat(values []interface{}, options ...Option) StringAccessor + func FloatString(from float64, options ...FloatStringOption) StringAccessor + func IntString(from int64, options ...IntStringOption) StringAccessor + func NNString(value string) StringAccessor + func NString(value string) StringAccessor + func UintString(from uint64, options ...UintStringOption) StringAccessor + type StringCommon struct + Error error + P *string + func (n *StringCommon) Scan(value interface{}) error + func (n *StringCommon) Set(value string) + func (n *StringCommon) UnmarshalJSON(b []byte) error + func (n StringCommon) Err() error + func (n StringCommon) MarshalJSON() ([]byte, error) + func (n StringCommon) Present() bool + func (n StringCommon) Typ(options ...Option) *Type + func (n StringCommon) V() string + func (n StringCommon) Valid() bool + func (n StringCommon) Value() (driver.Value, error) + type TimeAccessor interface + Clone func() TimeAccessor + Set func(value time.Time) + V func() time.Time + func NNTime(value time.Time) TimeAccessor + func NTime(value time.Time) TimeAccessor + type TimeCommon struct + Error error + P *time.Time + func (n *TimeCommon) Scan(value interface{}) error + func (n *TimeCommon) Set(value time.Time) + func (n *TimeCommon) UnmarshalJSON(b []byte) error + func (n TimeCommon) Err() error + func (n TimeCommon) MarshalJSON() ([]byte, error) + func (n TimeCommon) Present() bool + func (n TimeCommon) Typ(options ...Option) *Type + func (n TimeCommon) V() time.Time + func (n TimeCommon) Valid() bool + func (n TimeCommon) Value() (driver.Value, error) + type Type struct + func NewType(value interface{}, err error, options ...Option) *Type + func Of(value interface{}, options ...Option) *Type + func (t *Type) Bool() BoolAccessor + func (t *Type) BoolHumanize() BoolAccessor + func (t *Type) BoolPositive() BoolAccessor + func (t *Type) Complex(defaultValue ...complex128) ComplexAccessor + func (t *Type) Complex64(defaultValue ...complex64) Complex64Accessor + func (t *Type) Empty() BoolAccessor + func (t *Type) Equals(value interface{}) BoolAccessor + func (t *Type) Error() error + func (t *Type) Float(defaultValue ...float64) FloatAccessor + func (t *Type) Float32(defaultValue ...float32) Float32Accessor + func (t *Type) Get(argIndexes ...interface{}) (typ *Type) + func (t *Type) Identical(src interface{}) BoolAccessor + func (t *Type) Int(defaultValue ...int) IntAccessor + func (t *Type) Int16(defaultValue ...int16) Int16Accessor + func (t *Type) Int32(defaultValue ...int32) Int32Accessor + func (t *Type) Int64(defaultValue ...int64) Int64Accessor + func (t *Type) Int8(defaultValue ...int8) Int8Accessor + func (t *Type) Interface() InterfaceAccessor + func (t *Type) IsBool(indirect ...bool) bool + func (t *Type) IsComplex(indirect ...bool) bool + func (t *Type) IsComplex128(indirect ...bool) bool + func (t *Type) IsComplex64(indirect ...bool) bool + func (t *Type) IsComposite(indirect ...bool) bool + func (t *Type) IsFloat(indirect ...bool) bool + func (t *Type) IsFloat32(indirect ...bool) bool + func (t *Type) IsFloat64(indirect ...bool) bool + func (t *Type) IsInt(indirect ...bool) bool + func (t *Type) IsNumeric(indirect ...bool) bool + func (t *Type) IsPointer(indirect ...bool) bool + func (t *Type) IsPrimitives(indirect ...bool) bool + func (t *Type) IsString(indirect ...bool) bool + func (t *Type) IsUint(indirect ...bool) bool + func (t *Type) Kind(indirect ...bool) reflect.Kind + func (t *Type) OptionBase() int + func (t *Type) OptionFmtByte() byte + func (t *Type) OptionPrecision() int + func (t *Type) String() StringAccessor + func (t *Type) StringBool() StringAccessor + func (t *Type) StringComplex(defaultValue ...complex64) StringAccessor + func (t *Type) StringDefault(defaultValue string) StringAccessor + func (t *Type) StringEmpty() StringAccessor + func (t *Type) StringFloat(defaultValue ...float32) StringAccessor + func (t *Type) StringInt() StringAccessor + func (t *Type) Uint(defaultValue ...uint) UintAccessor + func (t *Type) Uint16(defaultValue ...uint16) Uint16Accessor + func (t *Type) Uint32(defaultValue ...uint32) Uint32Accessor + func (t *Type) Uint64(defaultValue ...uint64) Uint64Accessor + func (t *Type) Uint8(defaultValue ...uint8) Uint8Accessor + type Uint16Accessor interface + Clone func() Uint16Accessor + Set func(value uint16) + V func() uint16 + func Complex64Uint16(from complex64, defaultValue ...uint16) Uint16Accessor + func ComplexUint16(from complex128, defaultValue ...uint16) Uint16Accessor + func Float32Uint16(from float32, defaultValue ...uint16) Uint16Accessor + func FloatUint16(from float64, defaultValue ...uint16) Uint16Accessor + func IntUint16(from int64, defaultValue ...uint16) Uint16Accessor + func NNUint16(value uint16) Uint16Accessor + func NUint16(value uint16) Uint16Accessor + func StringUint16(from string, defaultValue ...uint16) Uint16Accessor + func Uint16(from uint64, defaultValue ...uint16) Uint16Accessor + type Uint16Common struct + Error error + P *uint16 + func (n *Uint16Common) Scan(value interface{}) error + func (n *Uint16Common) Set(value uint16) + func (n *Uint16Common) UnmarshalJSON(b []byte) error + func (n Uint16Common) Err() error + func (n Uint16Common) MarshalJSON() ([]byte, error) + func (n Uint16Common) Present() bool + func (n Uint16Common) Typ(options ...Option) *Type + func (n Uint16Common) V() uint16 + func (n Uint16Common) Valid() bool + func (n Uint16Common) Value() (driver.Value, error) + type Uint32Accessor interface + Clone func() Uint32Accessor + Set func(value uint32) + V func() uint32 + func Complex64Uint32(from complex64, defaultValue ...uint32) Uint32Accessor + func ComplexUint32(from complex128, defaultValue ...uint32) Uint32Accessor + func Float32Uint32(from float32, defaultValue ...uint32) Uint32Accessor + func FloatUint32(from float64, defaultValue ...uint32) Uint32Accessor + func IntUint32(from int64, defaultValue ...uint32) Uint32Accessor + func NNUint32(value uint32) Uint32Accessor + func NUint32(value uint32) Uint32Accessor + func StringUint32(from string, defaultValue ...uint32) Uint32Accessor + func Uint32(from uint64, defaultValue ...uint32) Uint32Accessor + type Uint32Common struct + Error error + P *uint32 + func (n *Uint32Common) Scan(value interface{}) error + func (n *Uint32Common) Set(value uint32) + func (n *Uint32Common) UnmarshalJSON(b []byte) error + func (n Uint32Common) Err() error + func (n Uint32Common) MarshalJSON() ([]byte, error) + func (n Uint32Common) Present() bool + func (n Uint32Common) Typ(options ...Option) *Type + func (n Uint32Common) V() uint32 + func (n Uint32Common) Valid() bool + func (n Uint32Common) Value() (driver.Value, error) + type Uint64Accessor interface + Clone func() Uint64Accessor + Set func(value uint64) + V func() uint64 + func Complex64Uint64(from complex64, defaultValue ...uint64) Uint64Accessor + func ComplexUint64(from complex128, defaultValue ...uint64) Uint64Accessor + func Float32Uint64(from float32, defaultValue ...uint64) Uint64Accessor + func FloatUint64(from float64, defaultValue ...uint64) Uint64Accessor + func IntUint64(from int64, defaultValue ...uint64) Uint64Accessor + func NNUint64(value uint64) Uint64Accessor + func NUint64(value uint64) Uint64Accessor + func StringUint64(from string, defaultValue ...uint64) Uint64Accessor + type Uint64Common struct + Error error + P *uint64 + func (n *Uint64Common) Scan(value interface{}) error + func (n *Uint64Common) Set(value uint64) + func (n *Uint64Common) UnmarshalJSON(b []byte) error + func (n Uint64Common) Err() error + func (n Uint64Common) MarshalJSON() ([]byte, error) + func (n Uint64Common) Present() bool + func (n Uint64Common) Typ(options ...Option) *Type + func (n Uint64Common) V() uint64 + func (n Uint64Common) Valid() bool + func (n Uint64Common) Value() (driver.Value, error) + type Uint8Accessor interface + Clone func() Uint8Accessor + Set func(value uint8) + V func() uint8 + func Complex64Uint8(from complex64, defaultValue ...uint8) Uint8Accessor + func ComplexUint8(from complex128, defaultValue ...uint8) Uint8Accessor + func Float32Uint8(from float32, defaultValue ...uint8) Uint8Accessor + func FloatUint8(from float64, defaultValue ...uint8) Uint8Accessor + func IntUint8(from int64, defaultValue ...uint8) Uint8Accessor + func NNUint8(value uint8) Uint8Accessor + func NUint8(value uint8) Uint8Accessor + func StringUint8(from string, defaultValue ...uint8) Uint8Accessor + func Uint8(from uint64, defaultValue ...uint8) Uint8Accessor + type Uint8Common struct + Error error + P *uint8 + func (n *Uint8Common) Scan(value interface{}) error + func (n *Uint8Common) Set(value uint8) + func (n *Uint8Common) UnmarshalJSON(b []byte) error + func (n Uint8Common) Err() error + func (n Uint8Common) MarshalJSON() ([]byte, error) + func (n Uint8Common) Present() bool + func (n Uint8Common) Typ(options ...Option) *Type + func (n Uint8Common) V() uint8 + func (n Uint8Common) Valid() bool + func (n Uint8Common) Value() (driver.Value, error) + type UintAccessor interface + Clone func() UintAccessor + Set func(value uint) + V func() uint + func Complex64Uint(from complex64, defaultValue ...uint) UintAccessor + func ComplexUint(from complex128, defaultValue ...uint) UintAccessor + func Float32Uint(from float32, defaultValue ...uint) UintAccessor + func FloatUint(from float64, defaultValue ...uint) UintAccessor + func NNUint(value uint) UintAccessor + func NUint(value uint) UintAccessor + func StringUint(from string, defaultValue ...uint) UintAccessor + type UintCommon struct + Error error + P *uint + func (n *UintCommon) Scan(value interface{}) error + func (n *UintCommon) Set(value uint) + func (n *UintCommon) UnmarshalJSON(b []byte) error + func (n UintCommon) Err() error + func (n UintCommon) MarshalJSON() ([]byte, error) + func (n UintCommon) Present() bool + func (n UintCommon) Typ(options ...Option) *Type + func (n UintCommon) V() uint + func (n UintCommon) Valid() bool + func (n UintCommon) Value() (driver.Value, error) + type UintStringOption func(*uintStrOpts) error + func UintStringBase(value int) UintStringOption + func UintStringDefault(value string) UintStringOption Other modules containing this package github.com/gurukami/typ