- 上图显示了
GOPATH
的代码组织。
- 没有远程存储库,Dep无法工作吗?
- 在
S2/bar/main.go
内,我有一个import语句并引用了"github.com/go/S1/proto"
S2项目中的-
$ dep init
出现以下错误
init failed: unable to solve the dependency graph: Solving failure:
(1) failed to list versions for https://github.com/go/S1: remote: Repository not found.
fatal: repository 'https://github.com/go/S1/' not found
: exit status 128
(2) failed to list versions for ssh://git@github.com/go/S1: ERROR: Repository not found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
: exit status 128
(3) failed to list versions for git://github.com/go/S1: fatal: remote error:
Repository not found.
: exit status 128
(4) failed to list versions for http://github.com/go/S1: remote: Repository not found.
fatal: repository 'https://github.com/go/S1/' not found
: exit status 128