Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Unix ¶
Unix converts unix times to time.Time
func (Unix) MarshalJSON ¶
MarshalJSON takes the Unix() seconds from the time and uses strconv.FormatInt() to return the string of digits
func (*Unix) UnmarshalJSON ¶
UnmarshalJSON for Unix converts the []byte value to int64 seconds and than constructs the time with time.Unix()
Click to show internal directories.
Click to hide internal directories.