Consider the following code in main/entry function r := chi.NewRouter() r.Use(middleware.RequestID) r.Use(middleware.RealIP) r
To check authorization i need to know the route inside the authorization middleware. I checked docs from go-chi and did it that way: func Authenticator(next htt