aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Liao <sean@liao.dev>2025-02-18 18:10:12 +0000
committerGopher Robot <gobot@golang.org>2025-02-18 17:53:31 -0800
commit21ca6346b03744182c6fb4521b7b9166664c4c52 (patch)
tree0857a5d5823cf6d5d7a393e10b6d8fa9e2fb7d3e
parent0150c532bf6ef0e57f79bcf8fc66afc29a94dea5 (diff)
downloadgo-x-website-21ca6346b03744182c6fb4521b7b9166664c4c52.tar.xz
_content/doc: mention GOPRIVATE in FAQ
Fixes golang/go#71797 Change-Id: I4f492a143837ebe00023d8f5bbcf59b44295c82d Reviewed-on: https://go-review.googlesource.com/c/website/+/650336 LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Michael Knyszek <mknyszek@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Auto-Submit: Ian Lance Taylor <iant@google.com>
-rw-r--r--_content/doc/faq.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/_content/doc/faq.md b/_content/doc/faq.md
index a3df1c48..710403fb 100644
--- a/_content/doc/faq.md
+++ b/_content/doc/faq.md
@@ -1064,6 +1064,9 @@ add these lines to your `~/.gitconfig`:
insteadOf = https://github.com/
```
+When working with private modules, but using a public module proxy for dependencies, you may need to set `GOPRIVATE`.
+See [private modules](/ref/mod#private-modules) for details and additional settings.
+
### How should I manage package versions using "go get"? {#get_version}
The Go toolchain has a built-in system for managing versioned sets of related packages, known as *modules*.