Collecting Go snippets, mostly from elsewhere, for general use.