Documentation ¶
Index ¶
Constants ¶
View Source
const StdTime = "15:04:05"
StdTime provides default SQL TIME format
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NullBool ¶
NullBool aliases sql.NullBool
func (NullBool) MarshalJSON ¶
MarshalJSON for NullBool
func (*NullBool) UnmarshalJSON ¶
UnmarshalJSON for NullBool
type NullFloat64 ¶
type NullFloat64 sql.NullFloat64
NullFloat64 aliases sql.NullFloat64
func ToNullFloat64 ¶
func ToNullFloat64(i *float64) NullFloat64
ToNullFloat64 returns a new NullFloat64
func (NullFloat64) MarshalJSON ¶
func (n NullFloat64) MarshalJSON() ([]byte, error)
MarshalJSON for NullFloat64
func (*NullFloat64) UnmarshalJSON ¶
func (n *NullFloat64) UnmarshalJSON(b []byte) error
UnmarshalJSON for NullFloat64
type NullInt64 ¶
NullInt64 aliases sql.NullInt64
func (NullInt64) MarshalJSON ¶
MarshalJSON for NullInt64
func (*NullInt64) UnmarshalJSON ¶
UnmarshalJSON for NullInt64
type NullString ¶
type NullString sql.NullString
NullString aliases sql.NullString
func (NullString) MarshalJSON ¶
func (n NullString) MarshalJSON() ([]byte, error)
MarshalJSON for NullString
func (*NullString) UnmarshalJSON ¶
func (n *NullString) UnmarshalJSON(b []byte) error
UnmarshalJSON for NullString
type NullTime ¶
NullTime aliases sql.NullTime
func (NullTime) MarshalJSON ¶
MarshalJSON for NullTime
func (*NullTime) UnmarshalJSON ¶
UnmarshalJSON for NullTime
type RawJSON ¶
type RawJSON json.RawMessage
RawJSON aliases json.RawMessage
func (RawJSON) MarshalJSON ¶
MarshalJSON for NullString
func (*RawJSON) UnmarshalJSON ¶
UnmarshalJSON for NullString
Click to show internal directories.
Click to hide internal directories.