Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bool ¶
func NewNullBool ¶
func NewNullBool() Bool
func (Bool) MarshalJSON ¶
func (*Bool) UnmarshalJSON ¶
type Date ¶
type Date struct{ sql.NullString }
Date is 'timezone-less' so we base if off string as all we care about is YYYY-MM-DD format.
func NewNullDate ¶
func NewNullDate() Date
func (Date) MarshalJSON ¶
func (*Date) UnmarshalJSON ¶
type Float64 ¶
type Float64 struct{ sql.NullFloat64 }
func NewFloat64 ¶
func NewNullFloat64 ¶
func NewNullFloat64() Float64
func (Float64) MarshalJSON ¶
func (*Float64) UnmarshalJSON ¶
type Int64 ¶
func NewNullInt64 ¶
func NewNullInt64() Int64
func (Int64) MarshalJSON ¶
func (*Int64) UnmarshalJSON ¶
type String ¶
type String struct{ sql.NullString }
func NewNullString ¶
func NewNullString() String
func (String) MarshalJSON ¶
func (*String) UnmarshalJSON ¶
type Timestamp ¶
func NewNullTimestamp ¶
func NewNullTimestamp() Timestamp
func NewTimestamp ¶
func (Timestamp) MarshalJSON ¶
func (*Timestamp) UnmarshalJSON ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.