3 ms·
For my personal project [1] I use vendoring. But as of Go 1.8 it is still inconvenient as the main package has to be on GOPATH/GOROOT or the compiler will not f
by fpoling 9y ago
For my personal project [1] I use vendoring. But as of Go 1.8 it is still inconvenient as the main package has to be on GOPATH/GOROOT or the compiler will not find it.
To maintain it I use git-subrepo [2], a very convenient tool to embed the code into own tree.
[1] - https://github.com/ibukanov/ljdumpgo https://github.com/ibukanov/ljdumpgo
[2] - https://github.com/ingydotnet/git-subrepo https://github.com/ingydotnet/git-subrepo