Re:Mux – A lightweight, fast HTTP request router for Go
by navd on Monday December 05, 2016 @11:39AM
(#13106642)
With go there is really less emphasis on taking advantage of a web framework like expressjs (look at go alternatives like gin) and building server functionality from the std library (since everything you need is there). I wrote a small helper library to help with template rendering if you're interested in looking at the source to see how you can take advantage of the std library for templating: https://github.com/dannav/migo
Re:Mux – A lightweight, fast HTTP request router for Go
by cloverich on Monday December 05, 2016 @11:36AM
(#13106617)
When I was learning Go, Negroni was where I left off and felt like what you may be looking for as a next step: https://github.com/urfave/negroni (I"m sure someone more experienced can provide more context or other / better links -- thought this would be a better answer than none until then)
Re:Mux – A lightweight, fast HTTP request router for Go
by thewhitetulip on Monday December 05, 2016 @10:31PM
(#13112028)
https://github.com/thewhitetulip/web-dev-golang-anti-textboo...
I have written a very basic introduction to writing webapps in Go without using a framework, as others have rightly pointed out, we really do not need to use a framework in Go for writing webapps, and Go is a great language.
If you don't like mine, https://github.com/astaxie/build-web-application-with-golang... is a nice start for new comers.
Any suggestions are appreciated!