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"?
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
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.
Google has royally fucked up NPM and Go Modules smh
Looks like Google is trying to monopolize on the repository hosting…