(w http.ResponseWriter, r *http.Request)
| 20 | } |
| 21 | |
| 22 | func homeHandler(w http.ResponseWriter, r *http.Request) { |
| 23 | p := Page{Title: "QR Code Generator"} |
| 24 | |
| 25 | t, _ := template.ParseFiles("index.html") |
| 26 | t.Execute(w, p) |
| 27 | } |
| 28 | |
| 29 | func viewCodeHandler(w http.ResponseWriter, r *http.Request) { |
| 30 | dataString := r.FormValue("dataString") |
nothing calls this directly
no outgoing calls
no test coverage detected