From a8ceec3d6bb6f4f8790875c24bd0d74af9cf6fcc Mon Sep 17 00:00:00 2001 From: Stephen McQuay Date: Wed, 8 May 2013 23:21:42 -0700 Subject: [PATCH] misspelled route function names --- handlers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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") }