todo: get this from 'go list' somehow?
This commit is contained in:
parent
a1ce58e9d0
commit
4c46927bc7
10
clone.go
10
clone.go
|
@ -97,6 +97,16 @@ func pathHack(gopath string) string {
|
||||||
return "go.googlesource.com/tools"
|
return "go.googlesource.com/tools"
|
||||||
case "golang.org/x/xerrors":
|
case "golang.org/x/xerrors":
|
||||||
return "go.googlesource.com/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
|
return gopath
|
||||||
|
|
Loading…
Reference in New Issue