Versions in this module Expand all Collapse all v0 v0.2.1 Jul 12, 2021 Changes in this version + type Date time.Time + func DateFromTime(tNoLoc time.Time) Date + func NewDate(y, m, d int) Date + func (d *Date) Scan(value interface{}) error + func (d *Date) UnmarshalJSON(b []byte) error + func (d Date) AddDate(yy int, mm int, dd int) Date + func (d Date) After(other Date) bool + func (d Date) Before(other Date) bool + func (d Date) Equal(other Date) bool + func (d Date) MarshalJSON() ([]byte, error) + func (d Date) String() string + func (d Date) Value() (driver.Value, error) + type NullDate struct + Date Date + Valid bool + func NewNullDate(y, m, d int) NullDate + func NullDateFromTime(tNoLoc time.Time) NullDate + func (d *NullDate) Scan(value interface{}) error + func (d *NullDate) UnmarshalJSON(b []byte) error + func (d NullDate) Equal(other NullDate) bool + func (d NullDate) MarshalJSON() ([]byte, error) + func (d NullDate) String() string + func (d NullDate) Value() (driver.Value, error) + type NullTime struct + Time Time + Valid bool + func NewNullTime(h, m, s int) NullTime + func NullTimeFromTime(tNoLoc time.Time) NullTime + func (t *NullTime) Scan(value interface{}) error + func (t *NullTime) UnmarshalJSON(b []byte) error + func (t NullTime) Equal(other NullTime) bool + func (t NullTime) MarshalJSON() ([]byte, error) + func (t NullTime) String() string + func (t NullTime) Value() (driver.Value, error) + type Time time.Time + func NewTime(h, m, s int) Time + func (ti *Time) Scan(value interface{}) error + func (ti *Time) UnmarshalJSON(b []byte) error + func (ti Time) Equal(other Time) bool + func (ti Time) MarshalJSON() ([]byte, error) + func (ti Time) String() string + func (ti Time) Value() (driver.Value, error)