gvm icon indicating copy to clipboard operation
gvm copied to clipboard

pin version for a particular project

Open Aceix opened this issue 1 year ago • 3 comments

need a feature to automatically switch go version for a particular project, i should be able to manually set this version

Aceix avatar Oct 25 '23 13:10 Aceix

BTW, it's very similar to what nvm have

gallyamb avatar Nov 01 '23 13:11 gallyamb

gvm applymod automatically picks version from go.mod file. Is there need for a separate file for keeping version? I think expected go version for project should be in go.mod. What are your thoughts?

ShivamKumar2002 avatar Nov 29 '23 18:11 ShivamKumar2002

@ShivamKumar2002 right, the expected version will be in go.mod. I was hoping the version switch will be automatic once the terminal is opened in the same directory as the go.mod file, instead of typing the applymod command

Aceix avatar Nov 29 '23 22:11 Aceix