moovweb / gvm

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

why put $pwd to $GOPATH when use "--local" #393

Open NoraGithub opened 2 years ago

NoraGithub commented 2 years ago

https://github.com/moovweb/gvm/blob/19365a6ab8ac4920234b2612c529eed2373299db/scripts/pkgset-create#L22

as title said, it would draw a conflict with 'go mod' that "$GOPATH/go.mod exists but should not"

1Mark commented 2 years ago

I have the same issue.

ankitcharolia commented 1 year ago

@NoraGithub @1Mark kindly try this GO Version Manager: https://github.com/ankitcharolia/goenv