Documentation ¶
Overview ¶
Package jsontime implements a JSON-serializable container for a time.Time.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Time ¶
Time is a wrapper around a time.Time that can be marshalled to/from JSON.
Time will always unmarshal to UTC, regardless of the input Time's Location.
func (Time) MarshalJSON ¶
MarshalJSON implements json.Marshaler.
func (*Time) UnmarshalJSON ¶
UnmarshalJSON implements json.Unmarshaler.
Click to show internal directories.
Click to hide internal directories.