Bugfixes in snippets for golang. Related to pull request #43.