aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMichael Matloob <matloob@golang.org>2023-05-23 16:13:13 -0400
committerMichael Matloob <matloob@golang.org>2024-03-04 21:01:23 +0000
commit5dcc04aeacdaa78cc431e3f8b2119d2f351685b5 (patch)
treeff8b9fee25744099914b6d735e74d02bb5bfd595 /doc
parentb09ac10badb169828240a3b0bfaa4a428eaca969 (diff)
downloadgo-5dcc04aeacdaa78cc431e3f8b2119d2f351685b5.tar.gz
go-5dcc04aeacdaa78cc431e3f8b2119d2f351685b5.zip
cmd/go/internal/modload: make it clear -mod can't be set in some cases
We check that -mod can't be set to mod in workspace mode, but then we set BuildMod to mod for go work sync below. Make it clear that that's okay because we can't pass -mod=mod to go work sync (or the other go mod commands that can run in workspace mode that set mod=mod: go mod graph, go mod verify, and go mod why). Change-Id: Idfe6fea6a420211886e4f838e050be4bf7d1b71d Reviewed-on: https://go-review.googlesource.com/c/go/+/497617 Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Bryan Mills <bcmills@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions