mirror-nourybot/internal/common/uptime.go
2023-08-08 02:37:37 +02:00

16 lines
147 B
Go

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