diff --git a/main.go b/main.go index 39a269b..f40184b 100644 --- a/main.go +++ b/main.go @@ -65,9 +65,11 @@ func main() { }() http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { + log.Println("got request for table") data.printTemplate(w, "table.tmpl") }) http.HandleFunc("/list", func(w http.ResponseWriter, r *http.Request) { + log.Println("got request for list") data.printTemplate(w, "list.tmpl") }) http.HandleFunc("/json", func(w http.ResponseWriter, r *http.Request) {