forked from robfig/glock
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support major module version paths in imports during save (robfig#47)
When an import that contains a (possible) major module version fails, it is reattempted without the version component. For example, imports like "sigs.k8s.io/structured-merge-diff/v4/value" and "k8s.io/klog/v2" will fail because on disk, they reside in GOPATH/src/sigs.k8s.io/structured-merge-diff/value & GOPATH/src/k8s.io/klog, respectively.
- Loading branch information
1 parent
ed09935
commit 58065e5
Showing
2 changed files
with
85 additions
and
3 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