]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.15: document go/printer.StdFormat
authorIan Lance Taylor <iant@golang.org>
Fri, 12 Jun 2020 22:58:48 +0000 (15:58 -0700)
committerIan Lance Taylor <iant@golang.org>
Mon, 15 Jun 2020 22:28:10 +0000 (22:28 +0000)
For #37419
For #37453
For #37476

Change-Id: Ia032ec844773af421bc4217d5dd6e60996d8e91f
Reviewed-on: https://go-review.googlesource.com/c/go/+/237740
Reviewed-by: Robert Griesemer <gri@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
doc/go1.15.html

index 69a20690b9bbd2a68344fcfc83f857129529e25c..4b79dee42dea745db924c750dac9c2b63450ed12 100644 (file)
@@ -633,6 +633,16 @@ Do not send CLs removing the interior tags from such phrases.
   </dd>
 </dl><!-- fmt -->
 
+<dl id="go/printer"><dt><a href="/pkg/go/printer/">go/printer</a></dt>
+  <dd>
+    <p><!-- CL 231461 -->
+      The new <a href="/pkg/go/printer/#Mode"><code>Mode</code></a>
+      value <a href="/pkg/go/printer/#StdFormat"><code>StdFormat</code></a>
+      directs the printer to apply standard formatting changes while
+      printing the output.
+  </dd>
+</dl><!-- go/printer -->
+
 <dl id="io/ioutil"><dt><a href="/pkg/io/ioutil/">io/ioutil</a></dt>
   <dd>
     <p><!-- CL 212597 -->