aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorGitea <gitea@fake.local>2023-12-27 03:40:24 +0000
committerGitea <gitea@fake.local>2023-12-27 03:40:24 +0000
commitfcdfae85e3643ce76bfdf6114d960034a04f241a (patch)
tree8f5bcebfccbd6ec07fdb373d773fbb1df1f80fd2 /main.go
parent37a5d0ac439e14894eda5d56f2ba7bfb42279fa5 (diff)
mark at incoming req
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
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) {