找不到导入:“google.golang.org/cloud/storage”

我想使用云 api gcloud-golang所以我确实进入了src 文件夹


goapp get google.golang.org/cloud

我可以在 liteIDE 中“看到”图书馆,但我无法使用goapp 服务


我得到这个例外


/home/mik/go-programs/src/google.golang.org/cloud/storage/acl.go:21: can't find import: "google.golang.org/api/storage/v1"


2015/03/14 23:13:37 Can't find package "google.golang.org/api/googleapi" in $GOPATH: cannot find package "google.golang.org/api/googleapi" in any of:

    /home/mik/go_appengine/goroot/src/google.golang.org/api/googleapi (from $GOROOT)

    /home/mik/go-programs/src/google.golang.org/api/googleapi (from $GOPATH)

    /home/mik/goroot/pkg/src/google.golang.org/api/googleapi

    /home/mik/go_appengine/src/google.golang.org/api/googleapi

2015/03/14 23:13:37 Can't find package "google.golang.org/api/storage/v1" in $GOPATH: cannot find package "google.golang.org/api/storage/v1" in any of:

    /home/mik/go_appengine/goroot/src/google.golang.org/api/storage/v1 (from $GOROOT)

    /home/mik/go-programs/src/google.golang.org/api/storage/v1 (from $GOPATH)

    /home/mik/goroot/pkg/src/google.golang.org/api/storage/v1

    /home/mik/go_appengine/src/google.golang.org/api/storage/v1

2015/03/14 23:13:37 go-app-builder: build timing: 5×6g (223ms total), 0×gopack (0 total), 0×6l (0 total)

2015/03/14 23:13:37 go-app-builder: failed running 6g: exit status 1


森林海
浏览 176回答 1
1回答
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Go