Как импортировать локальный проект родного брата в поставщика, используя инструмент зависимости Dep go? - PullRequest
0 голосов
/ 09 июля 2019

enter image description here

  1. На рисунке выше показан код организации w.r.t GOPATH.
  2. Dep не может работать без удаленного хранилища?
  3. В пределах S2/bar/main.go у меня есть оператор импорта и ссылка на "github.com/go/S1/proto"
  4. $ dep init внутри проекта S2 выдает следующую ошибку
    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
...