function used:
go get golang.org/x/oauth2/google
expect: download package what happened?
package cloud.google.com/go/compute/metadata: unrecognized import path "cloud.google.com/go/compute/metadata" (parsing cloud.google.com/go/compute/metadata: XML syntax error on line 9: expected /> in element)
thanks for helping
I had same issue, seems like serving repository from that path is missing, I find the repository in github and clone it into my $GOPATH/src then Move the container of project to go. this is the repository address:
1) git clone https://github.com/GoogleCloudPlatform/google-cloud-go
2) mv google-cloud-go $GOPATH/src/cloud.google.com/go/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With