aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippo Valsorda <filippo@golang.org>2024-12-12 17:12:40 +0100
committerGopher Robot <gobot@golang.org>2024-12-12 13:15:05 -0800
commit4cfc485e363b9a1d52f0ff0bc77025aa9287d2d6 (patch)
treeac6765a19b09a68483ed18fcefd15ec46cf4b328
parentce4f609d38257efb5522190dc1fa30b246acb9b2 (diff)
downloadgo-x-website-4cfc485e363b9a1d52f0ff0bc77025aa9287d2d6.tar.xz
_content/doc/go1.24: normalize how GODEBUG settings are referred to
For golang/go#68545 Change-Id: Ic994abed61389823e261c4c4e1b66f0502f3466a Reviewed-on: https://go-review.googlesource.com/c/website/+/635597 Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Auto-Submit: Filippo Valsorda <filippo@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> Reviewed-by: Carlos Amedee <carlos@golang.org>
-rw-r--r--_content/doc/go1.24.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/_content/doc/go1.24.md b/_content/doc/go1.24.md
index b1aff341..e10d8790 100644
--- a/_content/doc/go1.24.md
+++ b/_content/doc/go1.24.md
@@ -61,8 +61,8 @@ For details of the reporting format, see `go help buildjson`.
Furthermore, `go test -json` now reports build output and failures in JSON,
interleaved with test result JSON.
These are distinguished by new `Action` types, but if they cause problems in
-a test integration system, you can revert to the text build output by setting
-`GODEBUG=gotestjsonbuildtext=1`.
+a test integration system, you can revert to the text build output with
+[GODEBUG setting](/doc/godebug) `gotestjsonbuildtext=1`.
<!-- go.dev/issue/26232 -->
@@ -612,7 +612,7 @@ The new [`DiscardHandler`](/pkg/log/slog#DiscardHandler) is a handler that is ne
#### [`math/rand`](/pkg/math/rand/)
Calls to the deprecated top-level [`Seed`](/pkg/math/rand#Seed) function no longer have any effect. To
-restore the old behavior set `GODEBUG=randseednop=0`. For more background see
+restore the old behavior use [GODEBUG setting](/doc/godebug) `randseednop=0`. For more background see
[proposal #67273](/issue/67273).
#### [`math/rand/v2`](/pkg/math/rand/v2/)