Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default path for .go-version file #20

Open
ruflin opened this issue Sep 18, 2019 · 0 comments
Open

Default path for .go-version file #20

ruflin opened this issue Sep 18, 2019 · 0 comments
Labels

Comments

@ruflin
Copy link
Collaborator

ruflin commented Sep 18, 2019

Currently to select a go version defined in a file, the following command is needed: gvm use $(cat .go-version). This might not necessarily work on all OS. It would be convenient to have something similar to nvm use which automatically picks a version on a predefined file name.

I was initially thinking of going with .go-version but as there might be other gvm configs in the future, perhaps .gvm would be better. An inside it could be yaml and something like:

version: 1.11.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants