path overrides
This commit is contained in:
parent
7fdb7ee788
commit
f7fe365ed1
6
clone.go
6
clone.go
|
@ -101,6 +101,12 @@ func overridePath(gopath string) string {
|
|||
if strings.HasPrefix(gopath, "github.com/go-gl/glfw") {
|
||||
return "https://github.com/go-gl/glfw"
|
||||
}
|
||||
if strings.HasPrefix(gopath, "cloud.google.com/go") {
|
||||
return "https://github.com/googleapis/google-cloud-go"
|
||||
}
|
||||
if strings.HasPrefix(gopath, "go.opentelemetry.io/contrib") {
|
||||
return "https://github.com/open-telemetry/opentelemetry-go-contrib"
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue