moovweb / gvm

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

(feature) gvm support .go-version and .go-pkgset, similar to rvm #346

Closed keonjeo closed 11 months ago

keonjeo commented 1 year ago

@BenKnigge hi, cloud you help me review this pr. thx

alculquicondor commented 6 months ago

It looks like the kubernetes project has had a .go-version file for a while https://github.com/kubernetes/kubernetes/pull/114660

However, it doesn't doesn't match the regex gox.y.z. It's just x.y.z. As a result, I get the following error in my command line each time I open the repo:

Unrecognized command line argument: ''

Could both formats be supported?

jpbetz commented 4 months ago

The fact that this feature is undocumented and produces console noise when used on the kubernetes repo is really unfortunate. Could this be fixed?