misspelled route function names
This commit is contained in:
parent
8ae92884dd
commit
a8ceec3d6b
@ -14,7 +14,7 @@ type prob struct {
|
|||||||
Last int
|
Last int
|
||||||
}
|
}
|
||||||
|
|
||||||
func attempt(w http.ResponseWriter, req *http.Request) {
|
func problem(w http.ResponseWriter, req *http.Request) {
|
||||||
operation := "+"
|
operation := "+"
|
||||||
if r := rand.Intn(2); r == 0 {
|
if r := rand.Intn(2); r == 0 {
|
||||||
operation = "-"
|
operation = "-"
|
||||||
@ -43,6 +43,6 @@ func attempt(w http.ResponseWriter, req *http.Request) {
|
|||||||
fmt.Fprintf(w, j)
|
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")
|
fmt.Fprintf(w, "hello world")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user