aboutsummaryrefslogtreecommitdiffstats
path: root/bug/time.go
blob: a085e8e9bd1012078646a1837d859baff061a635 (plain) (blame)
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)
}