💁 The download URIs for Go have changed. This changeset updates the base URL and removes the unrequired version branching.
Update download URI. Closes #12.
👋 @wfarr: For your consideration.
This doesn't work for me.
$ bin/goenv install 1.6.2
curl: (22) The requested URL returned error: 404 Not Found
goenv: unable to install Go `1.6.2' from binary, download not available at https://storage.googleapis.com/golang/go1.6.2.darwin-amd64-osx10.8.tar.gz
@spraints: Looks like the packages have changed markedly since "install" was implemented. https://storage.googleapis.com/golang/go1.6.2.darwin-amd64-osx10.8.tar.gz should be https://storage.googleapis.com/golang/go1.6.2.darwin-amd64.pkg or https://storage.googleapis.com/golang/go1.6.2.darwin-amd64.tar.gz
Looking at the Go downloads page, the format change in OS X package naming happened between version 1.4.2 and 1.4.3.
Handle changes in Go archive name format
The naming format for Go archives for macOS files changed after version 1.4.2.
Only macOS 10.8 and later is supported from version 1.4.3 and above.
👋 @spraints: goenv install 1.6.2 should work for you as of 640b2a7. ♻️
goenv install 1.6.2
Looks great! Thanks!