質問

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?

役に立ちましたか?

解決

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.

他のヒント

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top