extra.golang: add some snippets