Versions in this module Expand all Collapse all v1 v1.0.2 Jan 29, 2019 v1.0.1 Jan 28, 2019 Changes in this version + type Bool struct + func NewBool(b bool) Bool + func NewNullBool() Bool + func (n Bool) IsEmpty() bool + func (n Bool) IsValid() bool + func (nb *Bool) UnmarshalJSON(b []byte) error + func (nb Bool) MarshalJSON() ([]byte, error) + type Date struct + func NewDate(s string) (Date, error) + func NewNullDate() Date + func (n Date) IsEmpty() bool + func (n Date) IsValid() bool + func (nd *Date) UnmarshalJSON(b []byte) error + func (nd Date) MarshalJSON() ([]byte, error) + func (nt *Date) Scan(value interface{}) error + type Float64 struct + func NewFloat64(f float64) Float64 + func NewNullFloat64() Float64 + func (n Float64) IsEmpty() bool + func (n Float64) IsValid() bool + func (nf *Float64) UnmarshalJSON(b []byte) error + func (nf Float64) MarshalJSON() ([]byte, error) + type Int64 struct + func NewInt64(i int64) Int64 + func NewNullInt64() Int64 + func (n Int64) IsEmpty() bool + func (n Int64) IsValid() bool + func (ni *Int64) UnmarshalJSON(b []byte) error + func (ni Int64) MarshalJSON() ([]byte, error) + type Nullable interface + IsEmpty func() bool + IsValid func() bool + type String struct + func NewNullString() String + func NewString(s string) String + func (ns *String) UnmarshalJSON(b []byte) error + func (ns String) IsEmpty() bool + func (ns String) IsValid() bool + func (ns String) MarshalJSON() ([]byte, error) + type Timestamp struct + func NewNullTimestamp() Timestamp + func NewTimestamp(t time.Time) Timestamp + func (n Timestamp) IsEmpty() bool + func (n Timestamp) IsValid() bool + func (nt *Timestamp) UnmarshalJSON(b []byte) error + func (nt Timestamp) MarshalJSON() ([]byte, error)