func init() { … }
var timeUnits …
var timeMultiplier …
var durationMatcher …
func IsDuration(str string) bool { … }
type Duration …
func (d Duration) MarshalText() ([]byte, error) { … }
func (d *Duration) UnmarshalText(data []byte) error { … }
func ParseDuration(cand string) (time.Duration, error) { … }
func (d *Duration) Scan(raw interface{ … }
func (d Duration) String() string { … }
func (d Duration) MarshalJSON() ([]byte, error) { … }
func (d *Duration) UnmarshalJSON(data []byte) error { … }
func (d *Duration) DeepCopyInto(out *Duration) { … }
func (d *Duration) DeepCopy() *Duration { … }