Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go/tools/gazelle/rules/resolve_external.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func (e externalResolver) resolve(importpath, dir string) (label, error) {
// knownImports are paths which are not static in the vcs package,
// to allow load balancing between actual repos,
// but for our case we only need to break the importpath in a known fashion.
var knownImports = []string{"golang.org/x/", "google.golang.org/", "cloud.google.com/"}
var knownImports = []string{"golang.org/x/", "google.golang.org/", "cloud.google.com/", "gopkg.in/"}

// specialCases looks for matches in knownImports to avoid making a network call.
func specialCases(importpath string) string {
Expand Down