Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONDuration ¶
JSONDuration is an alias for time.Duration with a custom serialization
func (JSONDuration) MarshalJSON ¶
func (d JSONDuration) MarshalJSON() ([]byte, error)
MarshalJSON does the JSON serialization for JSONDuration
type JSONTime ¶
JSONTime is an alias for time.Time with a custom serialization
func (JSONTime) MarshalJSON ¶
MarshalJSON does the JSON serialization for JSONTime
Click to show internal directories.
Click to hide internal directories.