3 ms·
unlike other languages, a framework isn't as much of a requirement in Go since the Go standard library includes an http server, json serialization/deserializati
by zemo 15y ago
unlike other languages, a framework isn't as much of a requirement in Go since the Go standard library includes an http server, json serialization/deserialization, html templating, email, logging, basically everything you need in a web app. The url routing is pretty crappy, but that's my only real gripe. ngmoco's Falcore is worth looking at: https://github.com/ngmoco/falcore https://github.com/ngmoco/falcore
- drivebyacct2 15y agoGorilla's mux adds much more capable and advanced routing. It's really nice to use it with subroutes, etc. Again, dead simple partly because it's designed well and partly because Go makes it easy to build. http://gorilla-web.appspot.com/pkg/gorilla/mux/ http://gorilla-web.appspot.com/pkg/gorilla/mux/ If you want something more lightweight (Gorilla's not "heavy" by any means) there is pat (formerly pat.go) https://github.com/bmizerany/pat https://github.com/bmizerany/pat