Repository navigation
Change GOMODCACHE #1504
Change GOMODCACHE
#1504
|
Hi there, How can I change GOMODCACHE? I tried to set But it doesn't work :( Thx |
Answered by
stamblerre
May 14, 2021
Replies: 3 comments 1 reply
|
Your problem is not vscode-go related, run |
0 replies
|
Try to set |
0 replies
|
Setting |
1 reply
Answer selected by
hyangah
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Setting
GOMODCACHEthrough the VS Code orgoplssettings will only affect the value of that environment variable when you are in the editor or the integrated terminal. To set it globally, you will want to rungo env -w GOMODCACHE="path/go/pkg/mod".