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/[email protected] requires cloud.google.com/[email protected]: 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.