Versions in this module Expand all Collapse all v1 v1.3.1 Jan 31, 2021 Changes in this version + type Bool struct + func NewBool(b, valid bool) Bool + func (b *Bool) SetNil() + func (b *Bool) SetValid(value bool) + func (b *Bool) UnmarshalJSON(data []byte) error + func (b Bool) MarshalJSON() ([]byte, error) + type Float64 struct + func NewFloat64(f float64, valid bool) Float64 + func (f *Float64) SetNil() + func (f *Float64) SetValid(value float64) + func (f *Float64) UnmarshalJSON(data []byte) error + func (f Float64) MarshalJSON() ([]byte, error) + type Int32 struct + func NewInt32(i int32, valid bool) Int32 + func (i *Int32) SetNil() + func (i *Int32) SetValid(value int32) + func (i *Int32) UnmarshalJSON(data []byte) error + func (i Int32) MarshalJSON() ([]byte, error) + type Int64 struct + func NewInt64(i int64, valid bool) Int64 + func (i *Int64) SetNil() + func (i *Int64) SetValid(value int64) + func (i *Int64) UnmarshalJSON(data []byte) error + func (i Int64) MarshalJSON() ([]byte, error) + type String struct + func NewString(s string, valid bool) String + func (s *String) SetNil() + func (s *String) SetValid(value string) + func (s *String) UnmarshalJSON(data []byte) error + func (s String) MarshalJSON() ([]byte, error) + type Time struct + func NewTime(t time.Time, valid bool) Time + func (t *Time) Scan(value interface{}) error + func (t *Time) SetNil() + func (t *Time) SetValid(value time.Time) + func (t *Time) UnmarshalJSON(data []byte) error + func (t Time) MarshalJSON() ([]byte, error) + func (t Time) Value() (driver.Value, error)