1
0
mirror of https://github.com/golang/go synced 2024-11-22 03:04:41 -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:
Matthew Dempsky 2013-01-09 07:31:25 -08:00 committed by Ian Lance Taylor
parent f14f458640
commit a6e4aa3ef2

View File

@ -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>
for more details.
</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>