mirror of
https://github.com/golang/go
synced 2024-11-25 19:37:58 -07:00
doc: Mention godoc's handling of example functions.
Fixes #4625. R=iant, adg CC=golang-dev https://golang.org/cl/7064052
This commit is contained in:
parent
f14f458640
commit
a6e4aa3ef2
@ -137,3 +137,9 @@ indexing via the <code>-path</code> flag or just by running <code>"godoc ."</cod
|
|||||||
in the source directory. See the <a href="/cmd/godoc/">godoc documentation</a>
|
in the source directory. See the <a href="/cmd/godoc/">godoc documentation</a>
|
||||||
for more details.
|
for more details.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Godoc recognizes example functions written according to the
|
||||||
|
<a href="/pkg/testing/#pkg-overview"><code>testing</code></a> package's naming
|
||||||
|
conventions and presents them appropriately.
|
||||||
|
</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user