]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.12: add notes about 'go doc -src'
authorkim yongbin <kybinz@gmail.com>
Thu, 27 Dec 2018 02:33:15 +0000 (11:33 +0900)
committerIan Lance Taylor <iant@golang.org>
Tue, 29 Jan 2019 14:54:34 +0000 (14:54 +0000)
Change-Id: Iaf67fcbb145277327e24150b29ff38f6c65f6a03
Reviewed-on: https://go-review.googlesource.com/c/155781
Reviewed-by: Ian Lance Taylor <iant@golang.org>
doc/go1.12.html

index 2591218eda82ba5ed2a194f5533861a28bb5d10a..3eab22a930539b6f8b8b2453aa1b2a559b596ce9 100644 (file)
@@ -299,6 +299,11 @@ for {
   as the <code>godoc</code> command line used to do.
 </p>
 
+<p><!-- CL 140959 -->
+  <code>go</code> <code>doc</code> also now includes the <code>-src</code> flag,
+  which will show the target's original source code.
+</p>
+
 <h3 id="trace">Trace</h3>
 
 <p><!-- CL 60790 -->