aboutsummaryrefslogblamecommitdiffstats
path: root/util/timestamp/timestamp.go
blob: 4f587cb466a9673bc7b64ca95a1497a3df4dc6b6 (plain) (tree)
1
2
3
4
5
6
7
8
9
                 







                                     
package timestamp

import "time"

type Timestamp int64

func (t Timestamp) Time() time.Time {
	return time.Unix(int64(t), 0)
}