Based on this tutorial: http://shadynasty.biz/blog/2012/07/30/quick-and-clean-in-go/