(w http.ResponseWriter, req *http.Request)
| 33 | } |
| 34 | |
| 35 | func index(w http.ResponseWriter, req *http.Request) { |
| 36 | _, err := io.WriteString(w, "at index") |
| 37 | check(err) |
| 38 | } |
| 39 | |
| 40 | func amigos(w http.ResponseWriter, req *http.Request) { |
| 41 | rows, err := db.Query(`SELECT aName FROM amigos;`) |