Versions in this module Expand all Collapse all v1 v1.0.0 Jan 21, 2023 Changes in this version + type Duration struct + func NewDuration(d time.Duration) Duration + func (d *Duration) UnmarshalJSON(bytes []byte) error + func (d *Duration) UnmarshalText(text []byte) (err error) + func (d Duration) MarshalJSON() ([]byte, error) + func (d Duration) MarshalText() (text []byte, err error) + func (d Duration) String() string