golang: update to 1.3.1
Merge pull request #417 from jcftang/wip-golang

golang: update to 1.3.1