This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 647
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix build when multiple workspaces are used in GOPATH
- Loading branch information
1 parent
131e7a3
commit d417fd6
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d417fd6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After this commit Studio Code underscoring package main with error
"can't load package: package d:/GoProjects/src/max/hello: cannot find package "d:/GoProjects/src/max/hello" in any of:
C:\Go\src\d:\GoProjects\src\max\hello (from $GOROOT)
d:\GoProjects\src\d:\GoProjects\src\max\hello (from $GOPATH)"
d417fd6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@maxtar
Workaround:
code --install-extension Go-0.5.58.vsix
from the location where you downloaded the fileI am trying to understand all different scenarios where this occurs (and there are quite a few) and will publish the fix soon
d417fd6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanx for workaround!