Random golang snippets