improve go snippets