G
Gorilla Mux
Powerful HTTP router for Go
A powerful HTTP router and URL matcher for building Go web servers. Implements http.Handler interface for seamless integration with Go's standard library.
20K
GitHub Stars
none
TypeScript
easy
Learning Curve
4.2
DX Score
Tarification
Model
free
Offre Gratuite
BSD-3-Clause licensed, fully open source
Fonctionnalités
- ✓ URL path variables
- ✓ Regex patterns
- ✓ Request matching
- ✓ URL reversal
- ✓ Subrouting
- ✓ Custom matchers
- ✓ Route walking
- ✓ Middleware support
- ✓ Standard http.Handler
Avantages
- + Very flexible routing
- + Standard library compatible
- + Mature and stable
- + Well documented
- + No magic
Inconvénients
- - Slower than httprouter
- - Just a router
- - Maintenance mode
- - No built-in middleware
Idéal Pour
startup indie hacker
Alternatives
backend router http standard-library gorilla