We could use a for here:

```
for url := range []string{fmt.Sprintf("/v%g%s", api.APIVERSION, path), path} {
...
// and replace the goto by a continue
...
}