server: /whoami
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user