Skip to content

Commit

Permalink
new
Browse files Browse the repository at this point in the history
  • Loading branch information
hunterlong committed Jun 30, 2018
1 parent 0bb8eee commit 558372b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions handlers/index.go
@@ -1,7 +1,6 @@
package handlers

import (
"fmt"
"github.com/hunterlong/statup/core"
"net/http"
)
Expand All @@ -17,7 +16,5 @@ func IndexHandler(w http.ResponseWriter, r *http.Request) {
return
}
out := index{*core.CoreApp, core.CoreApp.Services}
first, _ := out.Services[0].LimitedHits()
fmt.Println(out.Services[0].Name, "start:", first[0].Id, "last:", first[len(first)-1].Id)
ExecuteResponse(w, r, "index.html", out)
}

0 comments on commit 558372b

Please sign in to comment.