Make the go library a bit more golang-ish

Hello @tessr, @dpup, 

Please review the following commits I made in branch 'vinny-go-style'.

01997219b3b3e8fc131270811d8d3b8deb117bd7 (2014-10-23 17:04:55 -0700)
Make the go library a bit more golang-ish

R=@tessr
R=@dpup