We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi! I found strange behaviour using groups. I can't classify it is feature or a bug. This code is not working as i expected:
package main import ( "net/http" "github.com/go-chi/chi/v5" "github.com/go-chi/chi/v5/middleware" ) func main() { r1 := chi.NewMux().Group( func(r chi.Router) { r.Use(middleware.Logger) r.Group(func(r chi.Router) { r.Get("/test", http.HandlerFunc(f)) }) }, ) http.ListenAndServe(":80", r1) }
The text was updated successfully, but these errors were encountered:
not really a bug report :)
Sorry, something went wrong.
No branches or pull requests
Hi! I found strange behaviour using groups. I can't classify it is feature or a bug. This code is not working as i expected:
The text was updated successfully, but these errors were encountered: