Remove unneeded constants
This commit is contained in:
parent
1e28905c8d
commit
4ada6ee7c9
@ -1,14 +1,5 @@
|
|||||||
package core
|
package core
|
||||||
|
|
||||||
import (
|
|
||||||
"time"
|
|
||||||
)
|
|
||||||
|
|
||||||
const (
|
|
||||||
numberOfHoursInTenDays = 10 * 24
|
|
||||||
sevenDays = 7 * 24 * time.Hour
|
|
||||||
)
|
|
||||||
|
|
||||||
// Uptime is the struct that contains the relevant data for calculating the uptime as well as the uptime itself
|
// Uptime is the struct that contains the relevant data for calculating the uptime as well as the uptime itself
|
||||||
// and some other statistics
|
// and some other statistics
|
||||||
type Uptime struct {
|
type Uptime struct {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user