summaryrefslogtreecommitdiff
path: root/clone.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-08-29 17:45:24 -0500
committerJeff Carr <[email protected]>2025-08-29 17:45:24 -0500
commitf7fe365ed1490e646c6e0595dae052a84e125ed2 (patch)
tree6b763aa7e572d13ae05654ed98569be57fa5d213 /clone.go
parent7fdb7ee788185b82befd6f59c4afb1a540ffd279 (diff)
path overrides
Diffstat (limited to 'clone.go')
-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 ""
}