go.tools/cmd/godoc: set corpus.MaxResults in appinit.go

LGTM=bradfitz
R=bradfitz
CC=golang-codereviews
https://golang.org/cl/101220045
This commit is contained in:
Andrew Gerrand 2014-06-13 15:20:15 +10:00
parent f895b43688
commit 93b08999a7
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ func init() {
corpus := godoc.NewCorpus(fs)
corpus.Verbose = false
corpus.MaxResults = 10000 // matches flag default in main.go
corpus.IndexEnabled = true
corpus.IndexFiles = indexFilenames
if err := corpus.Init(); err != nil {