Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Duration ¶
Duration is a wrapper around time.Duration that implements json.Marshaler and json.Unmarshaler. It parses strings with time.ParseDuration(value) and numbers with time.Duration(value)
func (Duration) MarshalJSON ¶
func (*Duration) UnmarshalJSON ¶
func (Duration) UnmarshalKind ¶
type Time ¶
Time is a wrapper around time.Time that implements json.Marshaler and json.Unmarshaler. It parses string values in RFC3339 format (with RFC3339Nano as fallback)
func (Time) MarshalJSON ¶
func (*Time) UnmarshalJSON ¶
func (Time) UnmarshalKind ¶
Click to show internal directories.
Click to hide internal directories.