path overrides

This commit is contained in:
Jeff Carr 2025-08-29 17:45:24 -05:00
parent 7fdb7ee788
commit f7fe365ed1
1 changed files with 6 additions and 0 deletions

View File

@ -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 ""
}