我正在使用go version go1.10.3 darwin/amd64的glide version v0.13.1 Project位于,/Users/robopuff/Development/GoRethink它的树看起来像这样:.├── glide.lock├── glide.yaml├── main.go├── rethinkdb_data│ ├── 001fbc34-bd63-445f-8590-709ac7475294│ ├── log_file│ ├── metadata│ └── tmp└── vendor ├── github.com │ ├── cenkalti │ │ └── backoff │ ├── golang │ │ └── protobuf │ ├── hailocab │ │ └── go-hostpool │ ├── opentracing │ │ └── opentracing-go │ └── sirupsen │ └── logrus ├── golang.org │ └── x │ ├── crypto │ ├── net │ └── sys └── gopkg.in ├── fatih │ └── pool.v2 └── gorethink └── gorethink.v4运行后,go run main.go我受到一个错误的欢迎❯ go run main.gomain.go:7:2: cannot find package "gopkg.in/gorethink/gorethink.v4" in any of: /usr/local/go/src/gopkg.in/gorethink/gorethink.v4 (from $GOROOT) /Users/robopuff/go/src/gopkg.in/gorethink/gorethink.v4 (from $GOPATH)首先不应该让编译器着眼于供应商吗?
- 1 回答
- 0 关注
- 237 浏览
添加回答
举报
0/150
提交
取消