5 ms·
Ah good point about GOPROXY. So if I have a mix of private and public dependencies that I pull in, can I specify a specific proxy for the private ones? Is it t
by swagonomixxx 7y ago
Ah good point about GOPROXY.
So if I have a mix of private and public dependencies that I pull in, can I specify a specific proxy for the private ones? Is it the GOPRIVATE env var?
- chairmanwow1 7y agoThe proxy should maintain a copy of all dependencies (public and private), so only one should be necessary.
- zachgersh 7y agoThis should be clarified, if you setup YOUR OWN proxy it can handle both public and private modules (side note I haven’t been able to verify this yet with artifactory). You can also just let your GOPROXY fallback go “direct” which will then go straight to vcs (you need to make sure you have a gitconfig setup to redirect https to ssh).