Added a few useful Go snippets that I've been using locally.