andrewkroh / gvm

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

Fallback to main Go module version #57

Closed andrewkroh closed 2 years ago

andrewkroh commented 2 years ago

Report the Go main module version from gvm --version when the version was not set at compile time. This handles cases where gvm was installed via go install github.com/andrewkroh/gvm/cmd/gvm@v0.4.1.