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) MarshalYAML ¶ added in v0.90.34
MarshalYAML for NullBool
func (*NullBool) UnmarshalJSON ¶
Unmarshaler for NullBool
func (*NullBool) UnmarshalYAML ¶ added in v0.90.34
UnmarshalYAML 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) MarshalYAML ¶ added in v0.90.34
func (f NullFloat64) MarshalYAML() (interface{}, error)
MarshalYAML for NullFloat64
func (*NullFloat64) UnmarshalJSON ¶
func (f *NullFloat64) UnmarshalJSON(b []byte) error
Unmarshaler for NullFloat64
func (*NullFloat64) UnmarshalYAML ¶ added in v0.90.34
func (f *NullFloat64) UnmarshalYAML(unmarshal func(interface{}) error) error
UnmarshalYAML 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) MarshalYAML ¶ added in v0.90.34
MarshalYAML for NullInt64
func (*NullInt64) UnmarshalJSON ¶
Unmarshaler for NullInt64
func (*NullInt64) UnmarshalYAML ¶ added in v0.90.34
UnmarshalYAML 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) MarshalYAML ¶ added in v0.90.34
func (s NullString) MarshalYAML() (interface{}, error)
MarshalYAML for NullString
func (*NullString) UnmarshalJSON ¶
func (s *NullString) UnmarshalJSON(b []byte) error
Unmarshaler for NullString
func (*NullString) UnmarshalYAML ¶ added in v0.90.34
func (s *NullString) UnmarshalYAML(unmarshal func(interface{}) error) error
UnmarshalYAML for NullFloat64