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
Pricing
Model
free
Free Tier
BSD-3-Clause licensed, fully open source
Features
- ✓ URL path variables
- ✓ Regex patterns
- ✓ Request matching
- ✓ URL reversal
- ✓ Subrouting
- ✓ Custom matchers
- ✓ Route walking
- ✓ Middleware support
- ✓ Standard http.Handler
Pros
- + Very flexible routing
- + Standard library compatible
- + Mature and stable
- + Well documented
- + No magic
Cons
- - Slower than httprouter
- - Just a router
- - Maintenance mode
- - No built-in middleware
Best For
startup indie hacker
Alternatives
backend router http standard-library gorilla