Versions in this module Expand all Collapse all v1 v1.0.0 Jul 4, 2019 Changes in this version + const DefaultLayout + const DefaultTimeLayout + func GetDateFormat() string + func GetTimeFormat() string + func SetDateFormat(f string) + func SetTimeFormat(f string) + type Date struct + func NewDate(t time.Time) *Date + func (d *Date) MarshalJSON() ([]byte, error) + func (d *Date) Scan(value interface{}) error + func (d *Date) UnmarshalJSON(b []byte) (err error) + func (d Date) Value() (driver.Value, error) + type Time struct + func NewTime(t time.Time) *Time + func ParseTimeFromBytes(b []byte) (*Time, error) + func (t *Time) MarshalJSON() ([]byte, error) + func (t *Time) Scan(value interface{}) error + func (t *Time) UnmarshalJSON(b []byte) (err error) + func (t Time) Value() (driver.Value, error)