We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 421e503 commit d297d4dCopy full SHA for d297d4d
cmd/godoc/appinit.go
@@ -83,6 +83,7 @@ func main() {
83
log.Fatal(err)
84
}
85
corpus.IndexDirectory = indexDirectoryDefault
86
+ corpus.InitVersionInfo()
87
go corpus.RunIndexer()
88
89
pres = godoc.NewPresentation(corpus)
cmd/godoc/regtest_test.go
@@ -49,6 +49,11 @@ func TestLiveServer(t *testing.T) {
49
Path: "/pkg/os/",
50
Substring: "func Open",
51
},
52
+ {
53
+ Path: "/pkg/net/http/",
54
+ Substring: `title="Added in Go 1.11"`,
55
+ Message: "version information not present - failed InitVersionInfo?",
56
+ },
57
{
58
Path: "/robots.txt",
59
Substring: "Disallow: /search",
0 commit comments