mirror of
https://github.com/MichaelMure/git-bug.git
synced 2024-12-14 08:45:30 +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)
|
|
}
|