Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There'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

And you can get an idea of how people build websites using Mux and Go by looking on github: 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/ma... https://github.com/jimmykuu/gopher/blob/master/src/gopher/se... 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



Second the Gorilla recommendation. Great toolkit.


In older versions there seemed to be a websocket package, but I can't find it anymore - do you know what hapenned to it?


    go 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: