mirror of
https://github.com/golang/go.git
synced 2025-05-05 23:53:05 +00:00
go.tools/cmd/godoc: start indexer in app engine mode
R=golang-dev CC=golang-dev https://golang.org/cl/12237044
This commit is contained in:
parent
0830cbddc9
commit
37c18cdcf3
@ -40,10 +40,10 @@ func init() {
|
|||||||
corpus.Verbose = false
|
corpus.Verbose = false
|
||||||
corpus.IndexEnabled = true
|
corpus.IndexEnabled = true
|
||||||
corpus.IndexFiles = indexFilenames
|
corpus.IndexFiles = indexFilenames
|
||||||
|
|
||||||
if err := corpus.Init(); err != nil {
|
if err := corpus.Init(); err != nil {
|
||||||
log.Fatal(err)
|
log.Fatal(err)
|
||||||
}
|
}
|
||||||
|
go corups.RunIndexer()
|
||||||
|
|
||||||
pres = godoc.NewPresentation(corpus)
|
pres = godoc.NewPresentation(corpus)
|
||||||
pres.TabWidth = 8
|
pres.TabWidth = 8
|
||||||
|
Loading…
x
Reference in New Issue
Block a user