

Looking at it again, I’m guessing the part where sum.golang.org/lookup tries to query my behind-netbird server is why the lookup is failing. But is there a way to gave Go not rely on an external service like that? Or have it run the query locally instead of from the sum.golang.org server?














Yup this fixed it – adding
GOPRIVATE=code.mydomain.comas an environment variable allowedgo getandgo mod tidyto work with my private repos.Is there a way to set this globally, or to configure Go to always treat any references to
code.mydomain.comas a private URL?