moovweb / gvm

Go Version Manager
http://github.com/moovweb/gvm
MIT License
9.87k stars 520 forks source link

GVM use go.mod file #481

Open NebulousQuasar opened 4 weeks ago

NebulousQuasar commented 4 weeks ago

Would it be possible to use the go.mod file to identify the default version of the project and install and select this version as the default?

ZeTr0nIx commented 1 day ago

Maybe even use the latest patch version if already installed.

e.g. module foo

go 1.20

--> use go1.20.x if installed