]> Cypherpunks repositories - gostls13.git/commit
godoc: implemented command-line search
authorRobert Griesemer <gri@golang.org>
Fri, 19 Mar 2010 19:46:43 +0000 (12:46 -0700)
committerRobert Griesemer <gri@golang.org>
Fri, 19 Mar 2010 19:46:43 +0000 (12:46 -0700)
commit17e03514043c2a23cc6b51e838eda02d0adc8e15
tree4164c791d8d8c625fbc294db724268764ba0f17c
parentc10ccd567d92a98826356dab934719667098a878
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
lib/godoc/search.txt [new file with mode: 0644]
src/cmd/godoc/doc.go
src/cmd/godoc/godoc.go
src/cmd/godoc/main.go