wip
This commit is contained in:
7
hub/api/time.go
Normal file
7
hub/api/time.go
Normal file
@@ -0,0 +1,7 @@
|
||||
package api
|
||||
|
||||
import "time"
|
||||
|
||||
func timeSince(ts int64) int64 {
|
||||
return time.Now().Unix() - ts
|
||||
}
|
||||
Reference in New Issue
Block a user