1
0
mirror of https://github.com/golang/go synced 2024-11-23 09:10:08 -07:00

doc/go1.16: fix closing brace in .Export format

A parenthesis of go list "-f" flag format is double curly braces.

Change-Id: Ifd38e0b0ae3c46272a4acd65584818228168b7c6
GitHub-Last-Rev: b46030492b
GitHub-Pull-Request: golang/go#43924
Reviewed-on: https://go-review.googlesource.com/c/go/+/286752
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Trust: Tobias Klauser <tobias.klauser@gmail.com>
This commit is contained in:
Ryuji Iwata 2021-01-26 12:53:08 +00:00 committed by Tobias Klauser
parent 0f797f168d
commit 210f70e298

View File

@ -275,7 +275,7 @@ Do not send CLs removing the interior tags from such phrases.
When the <code>-export</code> flag is specified, the <code>BuildID</code>
field is now set to the build ID of the compiled package. This is equivalent
to running <code>go</code> <code>tool</code> <code>buildid</code> on
<code>go</code> <code>list</code> <code>-exported</code> <code>-f</code> <code>{{.Export}</code>,
<code>go</code> <code>list</code> <code>-exported</code> <code>-f</code> <code>{{.Export}}</code>,
but without the extra step.
</p>