Versions in this module Expand all Collapse all v0 v0.1.2 Oct 30, 2020 Changes in this version + func TryParseTime(val string, formats ...string) (time.Time, error) + type UnknownFormatError struct + Errors []error + Layouts []string + Val string + func (e *UnknownFormatError) Error() string v0.1.1 Sep 21, 2020 Changes in this version + const ISO8601ClockMicro v0.1.0 Sep 20, 2020 Changes in this version + var ErrInvalidClock = errors.New("timetype: invalid clock") + var ErrInvalidDuration = errors.New("timetype: invalid duration") + var ErrInvalidWeekday = errors.New("timetype: invalid weekday") + func ParseWeekday(s string) (time.Weekday, error) type Clock + func NewClock(h, m, s int, loc *time.Location) Clock + func NewUTCClock(h, m, s int) Clock + func (h *Clock) Scan(src interface{}) (err error) + func (h Clock) GoString() string + func (h Clock) String() string + func (h Clock) Value() (driver.Value, error) type Duration + func (d *Duration) Scan(src interface{}) (err error) + func (d Duration) Value() (driver.Value, error) v0.0.1 Aug 14, 2020 Changes in this version + const ISO8601Clock + type Clock time.Time + func (h *Clock) UnmarshalJSON(b []byte) error + func (h Clock) MarshalJSON() ([]byte, error) + type Duration time.Duration + func (d *Duration) UnmarshalJSON(b []byte) error + func (d Duration) MarshalJSON() ([]byte, error)