goenv icon indicating copy to clipboard operation
goenv copied to clipboard

goenv equivalent feature for gvm pkgsets

Open saipraveen-a opened this issue 5 years ago • 0 comments
trafficstars

I am just trying out the goenv tool and wanted to check if there's an equivalent to the gvm pkgsets for isolating the package dependencies for different GoLang projects. We can handle this by changing the GOPATH environment variable to the new Project workspace everytime we work on a project, but this is quite annoying.

Though Go has the official GoModules to isolate dependencies between projects, i think the pkgsets allows for complete isolation of the package and module dependencies by having a separate folders for projects sharing the same version of Go; this also allows programmers to switch between multiple Go Projects simultaneously without having to update GOPATH.

So, I would like to understand if such a thing is supported with goenv. I could not figure it out from the documentation. Please let me know if this is possible with goenv

Thanks

saipraveen-a avatar Sep 24 '20 12:09 saipraveen-a