mirror of
https://github.com/MichaelMure/git-bug.git
synced 2024-12-16 02:33:26 +03:00
10 lines
127 B
Go
10 lines
127 B
Go
package timestamp
|
|
|
|
import "time"
|
|
|
|
type Timestamp int64
|
|
|
|
func (t Timestamp) Time() time.Time {
|
|
return time.Unix(int64(t), 0)
|
|
}
|