You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Time defines a timestamp encoded as epoch seconds in JSON
// Most of it's code taken from https://github.com/pieterclaerhout/example-json-unixtimestamp/blob/master/cmd/example-json-timestamp/time.go
type Time struct {
time.Time
}
// MarshalJSON is used to convert the timestamp to JSON