todo: get this from 'go list' somehow?

This commit is contained in:
Jeff Carr 2024-11-22 20:48:02 -06:00
parent a1ce58e9d0
commit 4c46927bc7
1 changed files with 10 additions and 0 deletions

View File

@ -97,6 +97,16 @@ func pathHack(gopath string) string {
return "go.googlesource.com/tools"
case "golang.org/x/xerrors":
return "go.googlesource.com/xerrors"
case "google.golang.org/protobuf":
return "go.googlesource.com/protobuf"
case "google.golang.org/genproto":
return "go.googlesource.com/genproto"
case "google.golang.org/api":
return "go.googlesource.com/api"
case "google.golang.org/grpc":
return "go.googlesource.com/grpc"
case "google.golang.org/appengine":
return "go.googlesource.com/appengine"
}
return gopath