Change GOMODCACHE #1504
-
Hi there, How can I change GOMODCACHE? I tried to set
But it doesn't work :( Thx |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
Your problem is not vscode-go related, run |
Beta Was this translation helpful? Give feedback.
-
Try to set |
Beta Was this translation helpful? Give feedback.
-
Setting |
Beta Was this translation helpful? Give feedback.
Setting
GOMODCACHE
through the VS Code orgopls
settings 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"
.