mirror of
https://github.com/MichaelMure/git-bug.git
synced 2025-01-05 17:33:12 +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)
|
|
}
|