First attempt at a Go version

Probably not idiomatic GoLang and will make @athomason and @twmb cry
Not terribly important, but generally you should try to avoid making []byte/string copies unless necessary.