Gorilla Mux

Gorilla Mux (more commonly known as `gorilla/mux`) is a powerful HTTP request router and URL dispatcher for the Go programming language. It extends Go's standard `net/http` package to provide advanced routing capabilities, allowing developers to match requests based on URL path, HTTP method,…

Key facts

First appeared
2011
Category
technology
Problem solved
Gorilla Mux was created to address the limitations of Go's standard `net/http.ServeMux`, which provides only basic path-prefix matching. Developers struggled with cumbersome manual parsing and conditional logic to implement complex routing needs like variable path segments (e.g., `/users/{id}`), HTTP method-specific handlers (e.g., GET vs. POST for the same URL), subdomains, or query parameter-based routing. Gorilla Mux offered a flexible and expressive solution for these advanced routing patterns.
Platforms
Linux, FreeBSD, Windows, Any platform supporting Go runtime, macOS

Related technologies

Notable users

  • Startups and enterprises leveraging Go for backend development
  • Many web services and APIs built with Go