Versions in this module Expand all Collapse all v1 v1.0.0 Apr 21, 2019 Changes in this version + const DATE + var ErrMsgInvalidFormat = "invalid format" + type Date struct + func New(date string) (*Date, error) + func Today() *Date + func (t *Date) Equal(u *Date) bool + func (t *Date) IsAfter(u *Date) bool + func (t *Date) IsBefore(u *Date) bool + func (t *Date) Scan(value interface{}) error + func (t *Date) ScanString(date string) error + func (t *Date) UnmarshalJSON(data []byte) (err error) + func (t *Date) Value() (driver.Value, error) + func (t Date) MarshalJSON() ([]byte, error) + func (t Date) String() string