1 2 3 4 5 6 7 8 9
package bug import "time" type Timestamp int64 func (t Timestamp) Time() time.Time { return time.Unix(int64(t), 0) }