1

I tried installing the golang.org/x/oauth2 and google.golang.org/api/vision/v1 packages by running

go get golang.org/x/oauth2
go get google.golang.org/api/vision/v1

but I get this error

go get: google.golang.org/api@v0.63.0 requires cloud.google.com/go@v0.99.0: reading https://mirrors.aliyun.com/goproxy/cloud.google.com/go/@v/v0.99.0.mod: 502 Bad Gateway

Is there an alternative way of installing these packages? I'm on go version 1.17.5.

rustyhu
  • 1,912
  • 19
  • 28
wekesar
  • 21
  • 1
  • 9

0 Answers0