Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UnixTime ¶
Time defines a timestamp encoded as epoch seconds in JSON
func (UnixTime) MarshalJSON ¶
MarshalJSON is used to convert the timestamp to JSON
func (UnixTime) Unix ¶
Unix returns t as a Unix time, the number of seconds elapsed since January 1, 1970 UTC. The result does not depend on the location associated with t.
func (*UnixTime) UnmarshalJSON ¶
UnmarshalJSON is used to convert the timestamp from JSON
Click to show internal directories.
Click to hide internal directories.