Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var NullBool = NBool{ Valid: false, }
NullBool is Null value for NBool.
var NullFloat64 = NFloat64{ Valid: false, }
NullFloat64 is Null value for NFloat64.
var NullID = NIdent{ Valid: false, }
NullID is Null value for NIdent.
var NullInt64 = NInt64{ Valid: false, }
NullInt64 is Null value for NInt64.
var NullString = NString{ Valid: false, }
NullString is Null value for NString.
var NullTime = NTime{ Valid: false, }
NullTime is Null value for NTime.
Functions ¶
This section is empty.
Types ¶
type Ident ¶
type Ident int64
Ident represents a int64 as identifier.
func (Ident) MarshalJSON ¶
MarshalJSON encode json value.
func (*Ident) UnmarshalJSON ¶
UnmarshalJSON decode json value.
type NBool ¶
NBool represents a bool that may be null.
func (NBool) MarshalJSON ¶
MarshalJSON encode json value.
func (*NBool) UnmarshalJSON ¶
UnmarshalJSON decode json value.
type NFloat64 ¶
NFloat64 represents a float64 that may be null.
func (NFloat64) MarshalJSON ¶
MarshalJSON encode json value.
func (*NFloat64) UnmarshalJSON ¶
UnmarshalJSON decode json value.
type NIdent ¶
NIdent represents a Ident that may be null.
func (NIdent) MarshalJSON ¶
MarshalJSON encode json value.
func (*NIdent) UnmarshalJSON ¶
UnmarshalJSON decode json value.
type NInt64 ¶
NInt64 represents a int64 that may be null.
func (NInt64) MarshalJSON ¶
MarshalJSON encode json value.
func (*NInt64) UnmarshalJSON ¶
UnmarshalJSON decode json value.
type NString ¶
NString represents a string that may be null.
func (NString) MarshalJSON ¶
MarshalJSON encode json value.
func (*NString) UnmarshalJSON ¶
UnmarshalJSON decode json value.
type NTime ¶
NTime represents a time that may be null.
func (NTime) MarshalJSON ¶
MarshalJSON encode json value.
func (*NTime) UnmarshalJSON ¶
UnmarshalJSON decode json value.