1
0
mirror of https://github.com/golang/go synced 2024-10-01 09:38:36 -06:00
go/lib/godoc/search.txt
Robert Griesemer 17e0351404 godoc: implemented command-line search
The command-line search is using a running webserver
as index server; i.e., the search result is reflecting
the index at the server. See the documentation for
details.

Usage: godoc -q query1 query2 ...

Known issue: Results don't show the all-important
line numbers yet due to the way the index is organized.
Next CL.

R=rsc, r
CC=golang-dev
https://golang.org/cl/648041
2010-03-19 12:46:43 -07:00

53 lines
789 B
Plaintext

QUERY = {Query}
{.section Accurate}
{.or}
INDEXING IN PROGRESS - RESULT MAY BE INACCURATE
{.end}
{.section Alt}
DID YOU MEAN
{.repeated section Alts}
{@}
{.end}
{.end}
{.section Hit}
{.section Decls}
PACKAGE-LEVEL DECLARATIONS
{.repeated section @}
package {Pak.Name}
{.repeated section Files}
{.repeated section Groups}
{.repeated section Infos}
{File.Path|url-src}
{.end}
{.end}
{.end}
{.end}
{.end}
{.section Others}
LOCAL DECLARATIONS AND USES
{.repeated section @}
package {Pak.Name}
{.repeated section Files}
{.repeated section Groups}
{.repeated section Infos}
{File.Path|url-src}
{.end}
{.end}
{.end}
{.end}
{.end}
{.end}
{.section Illegal}
ILLEGAL QUERY SYNTAX
A legal query is a single identifier (such as ToLower)
or a qualified identifier (such as math.Sin).
{.end}