3 ms·
Is there a decent web framework using Go can that be competitive to Rails or Django someday?
by glitch273 14y ago
Is there a decent web framework using Go can that be competitive to Rails or Django someday?
- dualogy 14y agohttp://robfig.github.com/revel http://robfig.github.com/revel is at least aiming for that. Can't vouch for or against it (yet) though. Gorilla toolkit is also very neat, but it's a handy tool-box for web work, rather than a kitchen-sink framework.
- buro9 14y agoThere's enough built into Go that frameworks feel very unnecessary. The only thing I'd strongly recommend is Gorilla Mux: http://www.gorillatoolkit.org/pkg/mux http://www.gorillatoolkit.org/pkg/mux And you can get an idea of how people build websites using Mux and Go by looking on github: https://github.com/jimmykuu/gopher https://github.com/jimmykuu/gopher If you're very new to Go, then reading that last link repo you probably want to read these files in this order: https://github.com/jimmykuu/gopher/blob/master/src/server/main.go https://github.com/jimmykuu/gopher/blob/master/src/server/ma... https://github.com/jimmykuu/gopher/blob/master/src/gopher/server.go https://github.com/jimmykuu/gopher/blob/master/src/gopher/se... https://github.com/jimmykuu/gopher/blob/master/src/gopher/urls.go https://github.com/jimmykuu/gopher/blob/master/src/gopher/ur... and then to take a look at the files in this folder for the handlers and html/template calling: https://github.com/jimmykuu/gopher/tree/master/src/gopher https://github.com/jimmykuu/gopher/tree/master/src/gopher
- stock_toaster 14y agoSecond the Gorilla recommendation. Great toolkit.
- swah 14y agoIn older versions there seemed to be a websocket package, but I can't find it anymore - do you know what hapenned to it?
- buro9 14y agogo get code.google.com/p/go.net/websocket The html processing lives in there too: go get code.google.com/p/go.net/html If you see people refer to go.net, they mean that repo.