diff --git a/types/timestamp.go b/types/timestamp.go index c399fb7..db3f643 100644 --- a/types/timestamp.go +++ b/types/timestamp.go @@ -16,7 +16,7 @@ func SetLocation(name string) { } // Timestamp 時間戳 -type Timestamp int +type Timestamp int64 func GetUnixNow() Timestamp { return Timestamp(time.Now().Unix())