Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NullBool ¶
NullBool is an alias for sql.NullBool data type
func NewNullBool ¶
NewNullBool returns a sql.NullBool for JSON parsing
func (NullBool) MarshalJSON ¶
MarshalJSON for NullBool
func (*NullBool) UnmarshalJSON ¶
Unmarshaler for NullBool
type NullFloat64 ¶
type NullFloat64 struct {
sql.NullFloat64
}
NullFloat64 is an alias for sql.NullFloat64 data type
func NewNullFloat64 ¶
func NewNullFloat64(s float64) NullFloat64
NewNullFloat64 returns a sql.NullFloat64 for JSON parsing
func (NullFloat64) MarshalJSON ¶
func (f NullFloat64) MarshalJSON() ([]byte, error)
MarshalJSON for NullFloat64
func (*NullFloat64) UnmarshalJSON ¶
func (f *NullFloat64) UnmarshalJSON(b []byte) error
Unmarshaler for NullFloat64
type NullInt64 ¶
NullInt64 is an alias for sql.NullInt64 data type
func NewNullInt64 ¶
NewNullInt64 returns a sql.NullInt64 for JSON parsing
func (NullInt64) MarshalJSON ¶
MarshalJSON for NullInt64
func (*NullInt64) UnmarshalJSON ¶
Unmarshaler for NullInt64
type NullString ¶
type NullString struct {
sql.NullString
}
NullString is an alias for sql.NullString data type
func NewNullString ¶
func NewNullString(s string) NullString
NewNullString returns a sql.NullString for JSON parsing
func (NullString) MarshalJSON ¶
func (s NullString) MarshalJSON() ([]byte, error)
MarshalJSON for NullString
func (*NullString) UnmarshalJSON ¶
func (s *NullString) UnmarshalJSON(b []byte) error
Unmarshaler for NullString