Added some useful Go snippets.

Some snippets for Go that don't exist presently (struct declaration,
interface declaration, and custom JSON output when marshalling). I've
been using each locally for some time now, figured they'd be of use to
others as well!