3 ms·
If you download a package that supports go mod and try to build it, it'll automatically try to fetch dependencies through proxy.golang.org You can override the
by ridv 6y ago
If you download a package that supports go mod and try to build it, it'll automatically try to fetch dependencies through proxy.golang.org
You can override the proxy, and there are open source implementations of the module datastore[1], but it's not made clear front and centre to the end user that building software will call a Google owned service.
It was a source of contention for some when the default toolchain moved in this direction.[2]
[1] https://github.com/gomods/athens https://github.com/gomods/athens
[2] https://news.ycombinator.com/item?id=20870264 https://news.ycombinator.com/item?id=20870264
- marcus_holmes 6y agoalso, you can choose not to use the module system entirely, and just `go get` packages the old-skool way.