mirror of
https://github.com/golang/go
synced 2024-11-22 13:54:45 -07:00
6c8fdbe8c7
Instead of returning the index lookup result via RPC which has to be corrected for the client, simply render it on the server and return the final output. R=rsc, r CC=golang-dev https://golang.org/cl/669041
54 lines
813 B
Plaintext
54 lines
813 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}:{@|infoLine}
|
|
{.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}:{@|infoLine}
|
|
{.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}
|