为了账号安全,请及时绑定邮箱和手机立即绑定

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

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

Go
森林海 2021-09-21 16:26:37
我想使用云 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/googleapi2015/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/v12015/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
查看完整描述

1 回答

  • 1 回答
  • 0 关注
  • 175 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信