From a6e4aa3ef2f0a0132bb7294a7a662b4b96143742 Mon Sep 17 00:00:00 2001 From: Matthew Dempsky Date: Wed, 9 Jan 2013 07:31:25 -0800 Subject: [PATCH] doc: Mention godoc's handling of example functions. Fixes #4625. R=iant, adg CC=golang-dev https://golang.org/cl/7064052 --- doc/articles/godoc_documenting_go_code.html | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/articles/godoc_documenting_go_code.html b/doc/articles/godoc_documenting_go_code.html index 7bcca5ad41..18a3ee9532 100644 --- a/doc/articles/godoc_documenting_go_code.html +++ b/doc/articles/godoc_documenting_go_code.html @@ -137,3 +137,9 @@ indexing via the -path flag or just by running "godoc ."godoc documentation for more details.

+ +

+Godoc recognizes example functions written according to the +testing package's naming +conventions and presents them appropriately. +

-- 2.48.1