diff options
| author | Jeff Carr <[email protected]> | 2024-11-22 20:48:02 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-22 20:48:02 -0600 |
| commit | 4c46927bc73a49d45b55dc3667396921f07839bb (patch) | |
| tree | 86765a168e19b64f6ac45af39b6bc8fb6178ce14 | |
| parent | a1ce58e9d04e69bb8240774aad2421026fe95044 (diff) | |
todo: get this from 'go list' somehow?v0.22.17
| -rw-r--r-- | clone.go | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |
