restore go snippets