I'm trying to get the google drive package for go, but using the below always throws the error. Should I be installing it manually?
./go get code.google.com/p/google-api-go-client/drive/v2
load cmd/cgo: package cmd/cgo: no Go source files in .../google_appengine/goroot/src/cmd/cgo
The package seems to be broken. The basename of its import path (v2
) doesn't match the package name found there (drive
).
I'm not sure but I guess maybe some script which generates something is broken. I suggest to ask the committer at golang-nuts
You are appear to be looking in google_appengine
directories. Why?
What is the output from these commands?
$ go version
$ go env
$ env | grep '^PATH'