andrewkroh / gvm

Go Version Manager (written in Go for cross-platform usability)
Apache License 2.0
186 stars 24 forks source link

GOROOT is not required after Go 1.9 #59

Open andrewkroh opened 2 years ago

andrewkroh commented 2 years ago

The command does not need to output the GOROOT environment variable when working with Go 1.9 and later.

This could probably be safely removed. But if users switch between from a pre-Go 1.9 version to a post 1.9 version, then the shell output would need to unset GOROOT.