Found this thread in go-nuts which is relevant https://groups.google.com/forum/#!searchin/golang-nuts/init$20function/golang-nuts/ju5fgwbz45o/EpH2HSNK0hcJ 

I'll need to think about it :)