tested!
This commit is contained in:
parent
a3bddeb876
commit
4806829ba7
2
main.go
2
main.go
@ -115,7 +115,7 @@ func statusHandler(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
status := fmt.Sprintf("OpenBSD created: %d:%d:%d:%d:%d:%d:%d:%d\nTimestamp: %d",
|
||||
years, months, weeks, hours, minutes, seconds, milliseconds, nanoseconds,
|
||||
now.Unix())
|
||||
int(duration.Seconds()))
|
||||
|
||||
fmt.Fprint(w, status)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user