Golang News http://golangnews.com Jobs, Code, Videos and News for Go hackers - everything about the go programming language Wed, 20 Sep 2017 15:41:00 +0000 Alloy - Boilerplate for building web applications with Go <p>I've been working on my first non-trivial project using Golang. I've extracted this starter template from that project. This does not aim to be a web framework but is instead a collection of useful libraries and packages that you can use as a base to build on top of.</p> <p>A quick rundown of the major packages used -</p><ul style="margin: 0.357143em 0px; padding: 0px 0px 0px 40px; list-style-position: initial; list-style-image: initial; color: rgb(34, 34, 34); font-family: verdana, arial, helvetica, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255);"><li style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.42857em;">go-chi/chi (routing)</li><li style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.42857em;">lib/pq, jmoiron/sqlx, markbates/pop/nulls, pressly/goose (database)</li><li style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.42857em;">gorilla/sessions, gorilla/csrf, gorilla/securecookies (login/signup)</li><li style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.42857em;">markbates/refresh (recompile app on file change)</li><li style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.42857em;">microcosm-cc/bluemonday (display HTML)</li><li style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.42857em;">pressly/douceur, gomail (sending emails)</li><li style="margin: 0px; padding: 0px; font-size: 1em; line-height: 1.42857em;">pkg/errors, satori/go.uuid, spf13/cobra</li> </ul><p>Let me know what you guys think.</p> 8 points posted by Ollie https://www.growthmetrics.io/open-source/alloy 2665 Sun, 17 Sep 2017 15:10:00 +0000