diff --git a/handlers.go b/handlers.go index b53db79..5c7a326 100644 --- a/handlers.go +++ b/handlers.go @@ -14,7 +14,7 @@ type prob struct { Last int } -func attempt(w http.ResponseWriter, req *http.Request) { +func problem(w http.ResponseWriter, req *http.Request) { operation := "+" if r := rand.Intn(2); r == 0 { operation = "-" @@ -43,6 +43,6 @@ func attempt(w http.ResponseWriter, req *http.Request) { fmt.Fprintf(w, j) } -func problem(w http.ResponseWriter, req *http.Request) { +func attempt(w http.ResponseWriter, req *http.Request) { fmt.Fprintf(w, "hello world") }