Documentation ¶
Index ¶
- type Type
- func (bt *Type) Bool() bool
- func (bt *Type) Float32() float32
- func (bt *Type) Float64() float64
- func (bt *Type) Int() int
- func (bt *Type) Int16() int16
- func (bt *Type) Int32() int32
- func (bt *Type) Int64() int64
- func (bt *Type) Int8() int8
- func (bt *Type) IsBool() bool
- func (bt *Type) IsNumeric() bool
- func (bt *Type) IsString() bool
- func (bt *Type) MarshalJSON() ([]byte, error)
- func (bt *Type) String() string
- func (bt *Type) Time() (time.Time, error)
- func (bt *Type) Type() ValueType
- func (bt *Type) Uint() uint
- func (bt *Type) Uint16() uint16
- func (bt *Type) Uint32() uint32
- func (bt *Type) Uint64() uint64
- func (bt *Type) Uint8() uint8
- func (bt *Type) UnmarshalJSON(b []byte) error
- type ValueType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Type ¶
type Type struct {
// contains filtered or unexported fields
}
func NewMustTimeType ¶
func NewMustTimeType(val interface{}) *Type
func NewMustType ¶
func NewMustType(val interface{}) *Type
func NewTimeType ¶
func (*Type) MarshalJSON ¶
func (*Type) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.