Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Duration ¶
Duration is a duration that can be Marshal and Unmarshal
func (Duration) MarshalJSON ¶
MarshalJSON marshals a JSON duration to format "1h2m3s"
func (*Duration) UnmarshalJSON ¶
UnmarshalJSON unmarshals a JSON duration from format "1h2m3s"
Click to show internal directories.
Click to hide internal directories.