3 ms·
Based on Github stars... Web.go (875 stars) https://github.com/hoisie/web https://github.com/hoisie/web Revel (742 stars) https://github.com/robfig/revel http
by phasevar 14y ago
Based on Github stars...
Web.go (875 stars)
https://github.com/hoisie/web https://github.com/hoisie/web
Revel (742 stars)
https://github.com/robfig/revel https://github.com/robfig/revel
Beego (264 stars)
https://github.com/astaxie/beego https://github.com/astaxie/beego
Falcore (224 stars)
https://github.com/ngmoco/falcore https://github.com/ngmoco/falcore
Mango (160 stars)
https://github.com/paulbellamy/mango https://github.com/paulbellamy/mango
Golanger (159 stars)
https://github.com/golangers/framework https://github.com/golangers/framework
- jemeshsu 14y agoWeb.go got the most stars because its the first one, and is available before Go 1.0. Revel is modelled after Play and Beego is modelled after Tornido. I feel Revel could be more Go idiomatic. Beego is a light layer on top of the standard Go HTTP library and I like its abstraction better. Falcore is not the usual web framework, take a look and you will know why. Have not read much into Mango & Golanger. There is no Rails or Django in Go world yet. Some people just use web libraries such as https://github.com/gorilla https://github.com/gorilla to assemble a web app.
- carbocation 14y agoThis is helpful, thanks! Some of those projects (e.g., web.go) are much older than others (e.g., revel, beego), so it appears that some of the younger frameworks there have accumulated their stars pretty quickly. This prompted me to suggest to github that they add graphs of stars over time.
- bradrydzewski 14y agoI'd like to add a few more options. First there is pat, by the Heroku / the guy that created Sinatra: https://github.com/bmizerany/pat https://github.com/bmizerany/pat if you need simple routing and REST url parameters this is a great library to use. I've found it outperforms many of the other routing libraries. The best part is that it (mostly) uses the standard net.http library and you don't need to code against custom APIs. there is also Gorilla Web Toolkit: http://www.gorillatoolkit.org/ http://www.gorillatoolkit.org/ this library has been around for a couple years, and is often recommended on the Go mailing list. It recently switched from Google Code to Github, so it doesn't have as many stars as the others. It provides routing, secure cookies, sessions, and more. I personally would start with Gorilla or Pat, because they are very thin layers on top of the standard net.http library with little abstraction ... in many cases the standard library works great. If you end up needing a higher level framework you can always switch to something like Revel.