misspelled route function names
This commit is contained in:
parent
8ae92884dd
commit
a8ceec3d6b
@ -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")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user