]> Cypherpunks repositories - gostls13.git/commitdiff
doc: fix template mistake in godebug.md
authorRuss Cox <rsc@golang.org>
Fri, 31 Mar 2023 16:47:47 +0000 (12:47 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 3 Apr 2023 17:06:45 +0000 (17:06 +0000)
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>
doc/godebug.md

index 44e5a6e5b44ae24c42a19c519d6565453149c2d4..44f5dfd16d88065e80f4caaf7df5c189ec63b435 100644 (file)
@@ -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.