goenv
Like pyenv and rbenv, but for Go
...This project was cloned from pyenv and modified for Go. goenv does let you change the global Go version on a per-user basis. Provide support for per-project Go versions. Allow you to override the Go version with an environment variable. Search commands from multiple versions of Go at a time. At a high level, goenv intercepts Go commands using shim executables injected into your PATH, determines which Go version has been specified by your application, and passes your commands along to the correct Go installation. When you run all the variety of Go commands using go, your operating system searches through a list of directories to find an executable file with that name. ...