We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I did
go get golang.org/x/oauth2
when I now try to import it
import ( "golang.org/x/oauth2/google" )
I am getting
src/golang.org/x/oauth2/google/google.go:25:2: cannot find package "google.golang.org/cloud/compute/metadata" in any of: /usr/local/Cellar/go/1.4.1/libexec/src/google.golang.org/cloud/compute/metadata (from $GOROOT) MYPROJECT/src/google.golang.org/cloud/compute/metadata (from $GOPATH)
Of course a
go get google.golang.org/cloud/compute/metadata
fixed this - but...
The text was updated successfully, but these errors were encountered:
You ran "go get" on the oauth2 package, which of course did not fetch the google package's dependencies. This is how the go tool works.
If you ran
go get golang.org/x/oauth2/google
or
go get golang.org/x/oauth2/...
it would have fetched those dependencies.
Sorry, something went wrong.
No branches or pull requests
I did
when I now try to import it
I am getting
Of course a
fixed this - but...
The text was updated successfully, but these errors were encountered: