diff --git a/doc/effective_go.html b/doc/effective_go.html index e07c27ca2f..e3f3124631 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -245,15 +245,15 @@ func Compile(str string) (*Regexp, error) {

-If the name always begins the comment, the output of godoc -can usefully be run through grep. +If every doc comment begins with the name of the item it describes, +the output of godoc can usefully be run through grep. Imagine you couldn't remember the name "Compile" but were looking for the parsing function for regular expressions, so you ran the command,

-$ godoc regexp | grep parse
+$ godoc regexp | grep -i parse