Versions in this module Expand all Collapse all v1 v1.0.1 Jan 29, 2024 Changes in this version + var ErrTooBig = errors.New("interval overflows time.Duration") + type Duration time.Duration + func (d *Duration) Scan(src interface{}) error + func (d Duration) Value() (driver.Value, error) + type Interval struct + func New(years, days, hours, minutes, seconds, microseconds int) Interval + func (ival *Interval) Scan(src interface{}) error + func (ival Interval) Duration() (time.Duration, error) + func (ival Interval) Hours() int32 + func (ival Interval) Microseconds() int64 + func (ival Interval) Value() (driver.Value, error) + func (ival Interval) Years() int32 + type ParseErr struct + Cause error + String string + func (pe ParseErr) Error() string