summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2023-03-31 12:47:47 -0400
committerRuss Cox <rsc@golang.org>2023-04-03 17:06:45 +0000
commit45eded3afd3829adeb284a0bcdb1b049693cee07 (patch)
tree12349c7b4cfdbd88c2371fb53d1a217e409a41af /doc
parentf5371581c73f2153bb7e7c85648896ff8bdce845 (diff)
downloadgo-git-45eded3afd3829adeb284a0bcdb1b049693cee07.tar.gz
doc: fix template mistake in godebug.md
This file is itself template input, so have to hide the template in the go command example. Change-Id: Ifc4eaff35ca8dc2fb479f8e28d64c06b2a9c9d3b Reviewed-on: https://go-review.googlesource.com/c/go/+/480995 Run-TryBot: Russ Cox <rsc@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Bryan Mills <bcmills@google.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/godebug.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/godebug.md b/doc/godebug.md
index 44e5a6e5b4..44f5dfd16d 100644
--- a/doc/godebug.md
+++ b/doc/godebug.md
@@ -106,7 +106,9 @@ are also treated as invalid.
The defaults that will be compiled into a main package
are reported by the command:
+{{raw `
go list -f '{{.DefaultGODEBUG}}' my/main/package
+`}}
Only differences from the base Go toolchain defaults are reported.