updated go snippets