summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--clone.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/clone.go b/clone.go
index a1bee27..04facf2 100644
--- a/clone.go
+++ b/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 ""
}