this post was submitted on 25 May 2022
25 points (100.0% liked)
General Programming Discussion
7803 readers
1 users here now
A general programming discussion community.
Rules:
- Be civil.
- Please start discussions that spark conversation
Other communities
Systems
Functional Programming
Also related
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Very weird behaviour for a language infrastructure. I'm not familiar with go, but couldn't you setup your own module repository with e.g. nexus and crawl your needed modules, and block incoming traffic from the go "crawler"?
Go uses the GOPROXY env var to determine which proxy it hits, and defaults to Google's proxy. Typically the only time people set that env var is when their org runs its own module proxy, or when they set it to direct to bypass the module proxies entirely.