Frage

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?

War es hilfreich?

Lösung

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.

Andere Tipps

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top