4 ms·
The lack of support for private repos is still a dealbreaker for both `dep` and `vgo`.
by bigdubs 9y ago
The lack of support for private repos is still a dealbreaker for both `dep` and `vgo`.
- JepZ 9y agoHow is it different from using 'go get'?
- Groxx 9y ago`go get` has so many other blockers for enterprise use that "support for mirrors" barely registers. But yes: it's no different, `go get`'s lack of mirror support is also a blocker for tons of businesses.
- bigdubs 9y agogovendor anyway will use local versions of deps if you have them in your gopath
- teabee89 9y agoI wanted to find out, so I looked at vgo's source code, and found that vgo does indeed have some solution to this using Github Access Tokens and ~/.netrc: https://github.com/golang/vgo/blob/b6ca6ae975e2b066c002388a896833851a9e54a9/vendor/cmd/go/internal/web2/web.go#L271 https://github.com/golang/vgo/blob/b6ca6ae975e2b066c002388a8...