Switch from obsolete 6g to go build
Fixed template for changes to go package.