server: /whoami

This commit is contained in:
2026-05-13 22:51:55 +00:00
parent 9dcbd54387
commit 4be223d1b7
4 changed files with 40 additions and 1 deletions
+4
View File
@@ -13,5 +13,9 @@ func Start() {
w.Write([]byte("hello world"))
})
r.Route("/whoami", func(r chi.Router) {
r.Get("/", Whoami)
})
http.ListenAndServe(":3000", r)
}