Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Labels ¶
Labels treats query string liked value as a map.
func (Labels) MarshalJSON ¶
MarshalJSON implements json.Marshaler interface.
func (*Labels) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler interface.
type NullBool ¶ added in v0.4.0
func NewNullBool ¶ added in v0.4.0
type NullFloat64 ¶ added in v0.4.0
type NullFloat64 sql.NullFloat64
func NewNullFloat64 ¶ added in v0.4.0
func NewNullFloat64(v float64) NullFloat64
func (*NullFloat64) SetValid ¶ added in v0.4.0
func (f *NullFloat64) SetValid(v float64)
func (NullFloat64) Value ¶ added in v0.4.0
func (f NullFloat64) Value() float64
type NullInt64 ¶ added in v0.4.0
func NewNullInt64 ¶ added in v0.4.0
type NullString ¶ added in v0.4.0
type NullString sql.NullString
func NewNullString ¶ added in v0.4.0
func NewNullString(v string) NullString
func (*NullString) SetValid ¶ added in v0.4.0
func (s *NullString) SetValid(v string)
func (NullString) Value ¶ added in v0.4.0
func (s NullString) Value() string
type NullValue ¶ added in v0.4.0
type NullValue struct { Ref interface{} Valid bool }
func NewNullValue ¶ added in v0.4.0
func NewNullValue(v interface{}) NullValue
type Time ¶
Time wraps time.Time for database nullable timestamp.
func (Time) MarshalJSON ¶
MarshalJSON implements json.Marshaler interface.
func (*Time) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler interface.
Click to show internal directories.
Click to hide internal directories.