From fcdfae85e3643ce76bfdf6114d960034a04f241a Mon Sep 17 00:00:00 2001 From: Gitea Date: Wed, 27 Dec 2023 03:40:24 +0000 Subject: [PATCH] mark at incoming req --- main.go | 2 ++ 1 file changed, 2 insertions(+) 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) {