Commit 86b03101 authored by Rob Pike's avatar Rob Pike

text/template: clarify the default formatting used for values

Fixes #16105.

Change-Id: I94467f2adf861eb38f3119ad30d46a87456d5305
Reviewed-on: https://go-review.googlesource.com/24281Reviewed-by: default avatarAndrew Gerrand <adg@golang.org>
parent 252eda47
......@@ -74,8 +74,9 @@ data, defined in detail in the corresponding sections that follow.
/*
{{pipeline}}
The default textual representation of the value of the pipeline
is copied to the output.
The default textual representation (the same as would be
printed by fmt.Print) of the value of the pipeline is copied
to the output.
{{if pipeline}} T1 {{end}}
If the value of the pipeline is empty, no output is generated;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment