我只是用自制软件安装了 golang,但在导入远程包时遇到了问题。当我尝试安装包含import "github.com/bradfitz/gomemcache/memcache"我收到以下错误$ go installdemo.go:3:8: cannot find package "github.com/bradfitz/gomemcache/memcache" in any of:/usr/local/Cellar/go/1.4/libexec/src/github.com/bradfitz/gomemcache/memcache (from $GOROOT)/Users/white/go/src/github.com/bradfitz/gomemcache/memcache (from $GOPATH)在我未经训练的眼睛看来,它看起来只是在我的 GOPATH 本地查看。
2 回答
- 2 回答
- 0 关注
- 210 浏览
添加回答
举报
0/150
提交
取消