1
0
mirror of https://github.com/golang/go synced 2024-11-18 17:54:57 -07:00
go/cmd
Andrew Gerrand 5a5dc64a96 go.tools/godoc: fix index reading and writing
In command godoc, set IndexEnabled when the -write_index flag is set.
Previously you would need to (unintuitively) set the -http flag to
achieve this.

In package godoc, set up the FS tree before loading the index, and
then return before starting the index refresh loop. Previously the
index would be loaded and then immediately refreshed, negating the
benefits of the on-disk index.

TBR=bradfitz
R=golang-codereviews
CC=golang-codereviews
https://golang.org/cl/103370046
2014-06-13 16:49:32 +10:00
..
benchcmp go.tools/cmd/benchcmp: add -best flag 2014-05-30 21:45:27 -04:00
cover go.tools: fix various typos 2014-05-02 14:38:08 -07:00
eg go.tools/cmd/eg: Use Print, not Printf, to print Help string. 2014-04-25 12:03:38 -04:00
godex go.tools/cmd/godex: print correct type for const/var decls 2014-04-29 19:58:47 -07:00
godoc go.tools/godoc: fix index reading and writing 2014-06-13 16:49:32 +10:00
goimports go.tools/all: the the thes are too frequent, it's clear that that's not what we want 2014-05-19 09:48:30 -07:00
gotype cmd/gotype: add -gccgo flag 2014-01-08 15:25:17 -08:00
html2article go.tools/cmd/html2article: move command from go.blog repository 2013-09-27 10:40:53 +10:00
oracle go.tools: rename packages. 2014-01-16 09:33:58 -05:00
present go.tools/cmd/present: register SVG mime type 2014-06-03 14:16:59 +10:00
ssadump go.tools/go/ssa: perform nil check when taking value of interface method. 2014-04-09 18:00:57 -04:00
vet vet: Rearrange checkers to use a registration system. 2014-06-13 15:04:45 +10:00