Versions in this module Expand all Collapse all v1 v1.0.0 Jul 11, 2019 Changes in this version + var NullBool = NBool + var NullFloat64 = NFloat64 + var NullID = NIdent + var NullInt64 = NInt64 + var NullString = NString + var NullTime = NTime + type Ident int64 + func MakeID(id int64) Ident + func (id *Ident) UnmarshalJSON(data []byte) error + func (id Ident) MarshalJSON() ([]byte, error) + type NBool struct + Bool bool + Valid bool + func MakeNBool(b bool) NBool + func (nb *NBool) Scan(value interface{}) error + func (nb *NBool) UnmarshalJSON(data []byte) error + func (nb NBool) MarshalJSON() ([]byte, error) + func (nb NBool) Value() (driver.Value, error) + type NFloat64 struct + Float64 float64 + Valid bool + func MakeNFloat64(f float64) NFloat64 + func (nf *NFloat64) Scan(value interface{}) error + func (nf *NFloat64) UnmarshalJSON(data []byte) error + func (nf NFloat64) MarshalJSON() ([]byte, error) + func (nf NFloat64) Value() (driver.Value, error) + type NIdent struct + Ident Ident + Valid bool + func MakeNID(id int64) NIdent + func (nid *NIdent) Scan(value interface{}) error + func (nid *NIdent) UnmarshalJSON(data []byte) error + func (nid NIdent) MarshalJSON() ([]byte, error) + func (nid NIdent) Value() (driver.Value, error) + type NInt64 struct + Int64 int64 + Valid bool + func MakeNInt64(i int64) NInt64 + func (ni *NInt64) Scan(value interface{}) error + func (ni *NInt64) UnmarshalJSON(data []byte) error + func (ni NInt64) MarshalJSON() ([]byte, error) + func (ni NInt64) Value() (driver.Value, error) + type NString struct + String string + Valid bool + func MakeNString(s string) NString + func (ns *NString) Scan(value interface{}) error + func (ns *NString) UnmarshalJSON(data []byte) error + func (ns NString) MarshalJSON() ([]byte, error) + func (ns NString) Value() (driver.Value, error) + type NTime struct + Time time.Time + Valid bool + func MakeNTime(t time.Time) NTime + func (nt *NTime) Scan(value interface{}) error + func (nt *NTime) UnmarshalJSON(data []byte) error + func (nt NTime) MarshalJSON() ([]byte, error) + func (nt NTime) Value() (driver.Value, error)