1
0
Fork 0
mirror of https://github.com/lyx0/nourybot.git synced 2024-11-13 19:49:55 +01:00
mirror-nourybot/internal/common/uptime.go

16 lines
147 B
Go
Raw Normal View History

package common
import "time"
var (
uptime time.Time
)
func StartTime() {
uptime = time.Now()
}
func GetUptime() time.Time {
return uptime
}