Add GOPROXY misconfiguration diagnostics to setup docs/scripts

This commit is contained in:
beatz174-bit
2026-04-21 15:33:25 +10:00
parent b8a7534b2c
commit d09fa1f665
3 changed files with 75 additions and 0 deletions
+21
View File
@@ -84,6 +84,27 @@ go build ./...
go test ./...
```
### Troubleshooting Go dependency downloads
If you see an error like:
```text
GOPROXY list is not the empty string, but contains no entries
```
your local Go environment is misconfigured. A common fix is:
```bash
go env -w GOPROXY=https://proxy.golang.org,direct
```
Helpful diagnostics:
```bash
go env GOPROXY
echo "$GOPROXY"
```
### Acceptance tests
Acceptance tests are read-only and opt-in.