Versions in this module Expand all Collapse all v0 v0.27.1 Jul 30, 2020 Changes in this version + func NullDecoder(f reflect.Type, t reflect.Type, data interface{}) (interface{}, error) + func ParseExtendedDuration(data string) (result time.Duration, err error) + type Duration time.Duration + func (d *Duration) UnmarshalJSON(data []byte) error + func (d *Duration) UnmarshalText(data []byte) error + func (d Duration) MarshalJSON() ([]byte, error) + func (d Duration) String() string + type NullDuration struct + Valid bool + func NewNullDuration(d time.Duration, valid bool) NullDuration + func NullDurationFrom(d time.Duration) NullDuration + func (d *NullDuration) UnmarshalJSON(data []byte) error + func (d *NullDuration) UnmarshalText(data []byte) error + func (d NullDuration) MarshalJSON() ([]byte, error) + func (d NullDuration) ValueOrZero() Duration