Hacker GitHub

← All repos

gorilla/mux

View on GitHub ↗ ★ 21,833 Go

Package gorilla/mux is a powerful HTTP router and URL matcher for building Go web servers with 🦍

37 mentions on Hacker News by 31 people: 7 stories, 30 comments · first 2013-01-01 · latest 2025-05-11

Mentions per year 37 mentions · busiest year 2013 (6)
20082026
  1. …a few transitive deps and gorilla/mux has none: https://github.com/spf13/cobra/blob/main/go.sum https://github.com/gorilla/mux/blob/main/go.mod If I compare that with express.js or commander its a very different story (though, in fairness…
    comment by tuckerman · 2025-05-11 · in Leaving Google
  2. …- https://github.com/go-chi/chi 19k stars - https://github.com/julienschmidt/httprouter 16k stars - https://github.com/gorilla/mux 21k stars - https://github.com/spf13/pflag 2.6k stars - https://github.com/google/uuid 5.6k starts Many…
  3. ▲ 17
    The Gorilla web toolkit project is being revived, all repos are unarchived now
    story by el_hacker · 2023-07-13 · 2 comments
  4. ▲ 13
    The Gorilla project has been archived
    story by fizzbuzzz · 2022-12-09 · 6 comments
  5. ▲ 4
    The Gorilla Toolkit Is Looking for a New Maintainer (2021)
    story by mkl95 · 2022-10-30 · 0 comments
  6. We use a mux router https://github.com/gorilla/mux#matching-routes
  7. We've got a mix of a few but are recommending use of https://github.com/gorilla/mux due to it using the net/http interfaces and types, great performance and some configurability which can be handy. In particular, my team is using it in…
    comment by jamietanna · 2022-07-22 · in Ask HN: What GO web framework do you use?
  8. ▲ 5
    Gorilla toolkit is looking for a new maintainer
    story by shp0ngle · 2022-07-19 · 0 comments
  9. …Here's the meta tag for the gorilla router, a common http routing library: <meta name="go-import" content="github.com/gorilla/mux git https://github.com/gorilla/mux.git"> The tool is designed so that you can serve modules directly from…
    comment by zemo · 2021-12-15 · in Go Replaces Interface{} with 'Any'
  10. ▲ 4
    The Gorilla Toolkit Is Looking for a New Maintainer
    story by _JamesA_ · 2021-12-13 · 0 comments
  11. …dependencies, the garbage that is the Node.js ecosystem. [0]: https://echo.labstack.com/ [1]: https://github.com/gorilla/mux
  12. …refactoring... worth the expense over VSCode. Generally I use standard library, with the exception being github.com/gorilla/mux Gorilla Mux for routing because it removes so much boilerplate. I do however use Python for all HTTP…
  13. We use it. Gorilla mux ( https://github.com/gorilla/mux ) to route requests plus some in-house handler chains that log, check JWT tokens, etc. We have a Go client library which accesses the web API, so we can do testing without having to…
  14. …maybe Terraform? On the other, more modular side, try something like the Gorilla toolkit e.g. https://github.com/gorilla/mux/ I'll be honest, I rarely use channels other than for timeouts/deadlines.
    comment by hactually · 2020-05-13 · in What's Coming in Go 1.15
  15. …setup dependency injection. Generally a flow like config=>databases=>models=>routes=>server. - https://github.com/gorilla/mux for routing and https://github.com/swaggo/swag for documentation - As for HTTP frameworks I just use the standard…
  16. …been powering SPA with go backend, and found gorilla mux [0] to be quite reliable for years. - [0] https://github.com/gorilla/mux
    comment by stockkid · 2018-12-17 · in Vue.js and Go example project
  17. …scales quite nicely with your code IMO. I use a couple of thin layers over net/http: Gorilla mux: https://github.com/gorilla/mux ... Gets me easy route params and HTTP method filtering. Negroni for middleware:…
  18. https://ponzu-cms.org for back end & https://github.com/gorilla/mux if needs a Go front end.
  19. https://github.com/gorilla/mux
  20. …can be either an absolute commit hash or a relative one like a branch name. ie. https://sourcegraph.com/github.com/gorilla/mux@master/-/blob...
  21. Even a web framework isn't necessary. Most people get around that nastiness using gorilla/mux: https://github.com/gorilla/mux
    comment by viiralvx · 2017-03-22 · in How I Start: Go (2014)
  22. …ph.com/github.com/golang/go@bb41b4d599f5758... - Popular gorilla/mux routing library: https://sourcegraph.com/github.com/gorilla/mux@34bf6dc9faa08... - Gorp, a popular ORM-ish library: https://sourcegraph.com/github.com/go-gorp/gorp@033bf79…
    comment by beliu · 2017-02-10 · in Go Web Examples
  23. ▲ 2
    Gorilla/mux: A powerful URL router and dispatcher for golang
    story by deepakkarki · 2016-12-06 · 1 comment
  24. …Gorilla framework's Mux [0] has been around awhile and is quite popular for routing in Go. [0] https://github.com/gorilla/mux
  25. …for early access.) Try out jumping to definition and seeing hovers at https://sourcegraph.com/github.com/gorilla/mux/-/blob/mux.go... . This helps you understand code that you're browsing. Check out global usage examples and refs of any…
  26. Exactly! You mean like this? https://sourcegraph.com/github.com/gorilla/mux@9fa818a44c2bf...
    comment by beliu · 2016-06-07 · in Toward a URL for every function
  27. …with putting together HTTP server-side apps in Go: - Gorilla mux for defining templated routes: https://github.com/gorilla/mux - Negroni for HTTP route Middlewares: https://github.com/codegangsta/negroni For testing HTTP server-side Go…
    comment by ereyes01 · 2016-05-02 · in Go best practices, six years in
  28. …replied - net/http is enough to build something that's good enough. In addition, there is also: https://github.com/gorilla/mux , which complements net/http very well.
    comment by dsies · 2016-03-28 · in Building Web Apps in Go
  29. ▲ 1
    Show HN: Semantic and full-text code search for GitHub repos
    story by sqs · 2015-03-21 · 1 comment
  30. …for now! Godoc + tooltips + jump-to-def + usage examples. See this, for example: https://sourcegraph.com/github.com/gorilla/mux/.godoc
    comment by beliu · 2015-03-13 · in Godoc is down
  31. …single page format. It really fits go code repositories as they are usually small. e.g. http://readcode.in/github.com/gorilla/mux
    comment by minhajuddin · 2014-12-07 · in When in Go, do as Gophers do
  32. actually nginx config is fine. I wasn't properly using "github.com/gorilla/mux". Sorting it out now. cheers
    comment by wilsonfiifi · 2013-06-01 · in Show HN: CMS Server written in Go (alpha)
  33. …Go project. #1. Switch to the go project directory #2. Fork for the new feature (adding_mux) #3. Run go get github.com/gorilla/mux #4. Add import "github.com/gorilla/mux" to my code, use mux for great goodness #5. Commit my code (this is…
  34. What? It ONLY looks for localized copies. When you have import "github.com/gorilla/mux" it will look in $GOROOT/src/pkg/github.com/gorilla/mux and $GOPATH/src/github.com/gorilla/mux if it is missing, you can fulfill it with go get…
  35. …https://github.com/rcrowley/goagain and the routing I found pretty straightforward with something like github.com/gorilla/mux so there are solutions, they're just not always as fully baked or as mature as you'd find in other ecosystems.…
  36. …becomes widespread), or by changing import to take an argument for the version. So something like: import "github.com/gorilla/mux/1.0.3" or import "github.com/gorilla/mux", ~> "1.0.3" which would let you specify any minor updates say and…
  37. …documentation is also available on GoDoc: http://godoc.org/github.com/gorilla/securecookie http://godoc.org/github.com/gorilla/mux
    comment by BarkMore · 2013-01-01 · in Thoughts on Go after writing 3 websites