适用于Go的Google API客户端库 入门 $ go get google.golang.org/api/tasks/v1 $ go get google.golang.org/api/moderator/v1 $ go get google.golang.org/api/urlshortener/v1 ... etc ... 并使用: package main import ( "net/http" "google.golang.org/api/urlshortener/v1" ) func main () { svc , err := urlshortener . New (