Question

https://developers.google.com/drive/v2/reference/files/list

Are there Go examples using the code.google.com/p/google-api-go-client/drive/v2 package. Is there another location for it? or just not released yet?

Was it helpful?

Solution

It is not yet released, but you can build the client yourself, if you have the library installed with:

go get code.google.com/p/google-api-go-client/drive/v1
cd $GOPATH/src/code.google.com/p/google-api-go-client
go run google-api-go-generator/gen.go -api=drive:v2
go install ./drive/v2

I will submit a patch right now to get it added.

OTHER TIPS

The package is there but not accessible from that URL:

You can browse the code from

http://code.google.com/p/google-api-go-client/source/browse/

and download and install it in you GOPATH

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top