Go客户端用于Google Drive SDK v2

huangapple go评论88阅读模式
英文:

Go client for Google Drive SDK v2

问题

有没有使用code.google.com/p/google-api-go-client/drive/v2包的Go示例?还有其他位置吗?还是还没有发布?

英文:

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?

答案1

得分: 2

它尚未发布,但如果您已经安装了库,您可以自己构建客户端:

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

我现在将提交一个补丁来添加它。

英文:

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.

答案2

得分: 0

这个包在那个URL上是不可访问的:

你可以从以下网址浏览代码:

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

并下载并安装到你的GOPATH中。

英文:

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

huangapple
  • 本文由 发表于 2012年7月3日 05:48:00
  • 转载请务必保留本文链接:https://go.coder-hub.com/11301659.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定