From bceade5ef8ab6d28ad363cd7ca60a9be89990a00 Mon Sep 17 00:00:00 2001 From: Michael Matloob Date: Mon, 17 Mar 2025 11:53:22 -0400 Subject: [PATCH] doc/next: add release note for work package pattern For #71294 Fixes #50745 Change-Id: Iff05e98ac860a1764d4c59572f9abc3ae8d9c5fb Reviewed-on: https://go-review.googlesource.com/c/go/+/658495 Reviewed-by: Dmitri Shuralyov LUCI-TryBot-Result: Go LUCI Reviewed-by: Dmitri Shuralyov Reviewed-by: Alan Donovan --- doc/next/3-tools.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/next/3-tools.md b/doc/next/3-tools.md index 68017c8def..977c89670c 100644 --- a/doc/next/3-tools.md +++ b/doc/next/3-tools.md @@ -10,6 +10,12 @@ These new error reports may be disabled by setting `ASAN_OPTIONS=detect_leaks=0` in the environment when running the program. + + +The new `work` package pattern matches all packages in the work (formerly called main) +modules: either the single work module in module mode or the set of workspace modules +in workspace mode. + When the go command updates the `go` line in a `go.mod` or `go.work` file,