First attempt at a Go version

Probably not idiomatic GoLang and will make @athomason and @twmb cry
Should these be flags?