First attempt at a Go version

Probably not idiomatic GoLang and will make @athomason and @twmb cry
Also check resp.StatusCode; non-200 responses are not errors.