News for hackers. Stuff that matters.
Re:Go Developer Survey 2019 Results by swagonomixxx on Monday April 20, 2020 @05:24PM (#22928745)
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?

Re:Go Developer Survey 2019 Results by chairmanwow1 on Monday April 20, 2020 @05:40PM (#22928914)
The proxy should maintain a copy of all dependencies (public and private), so only one should be necessary.
Re:Go Developer Survey 2019 Results by zachgersh on Monday April 20, 2020 @06:14PM (#22929328)
This 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).