Update timestamp type int64

tags/v1.0.4 v1.0.4
Stanly 4 years ago
parent d609cc25d9
commit 5c5ed33f43

@ -16,7 +16,7 @@ func SetLocation(name string) {
} }
// Timestamp 時間戳 // Timestamp 時間戳
type Timestamp int type Timestamp int64
func GetUnixNow() Timestamp { func GetUnixNow() Timestamp {
return Timestamp(time.Now().Unix()) return Timestamp(time.Now().Unix())

Loading…
Cancel
Save