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:

  1. Be civil.
  2. 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
[โ€“] ravermeister@lemmy.rimkus.it 7 points 2 years ago (1 children)

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"?

[โ€“] ndarwincorn@lemmy.ml 3 points 2 years ago

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.