Documentation
¶
Index ¶
Constants ¶
View Source
const ( Nanosecond = Duration(time.Nanosecond) Microsecond = Duration(time.Microsecond) Millisecond = Duration(time.Millisecond) Second = Duration(time.Second) Minute = Duration(time.Minute) Hour = Duration(time.Hour) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Duration ¶
Duration is a wrapper of time.Duration, which implements TextUnmarshaler, TextMarshaler, MarshalJSON()
func (Duration) MarshalJSON ¶
func (Duration) MarshalText ¶
func (*Duration) UnmarshalText ¶
Click to show internal directories.
Click to hide internal directories.