...
Text file lib/godoc/search.txt
1 QUERY
2 {{.Query}}
3
4 {{with .Alert}}{{.}}
5 {{end}}{{/* .Alert */}}{{/*
6
7 ---------------------------------------
8
9 */}}{{with .Alt}}DID YOU MEAN
10
11 {{range .Alts}} {{.}}
12 {{end}}
13 {{end}}{{/* .Alt */}}{{/*
14
15 ---------------------------------------
16
17 */}}{{with .Pak}}PACKAGE {{$.Query}}
18
19 {{range .}} {{pkgLink .Pak.Path}}
20 {{end}}
21 {{end}}{{/* .Pak */}}{{/*
22
23 ---------------------------------------
24
25 */}}{{range $key, $val := .Idents}}{{if $val}}{{$key.Name}}
26 {{range $val.Idents}} {{.Path}}.{{.Name}}
27 {{end}}
28 {{end}}{{end}}{{/* .Idents */}}{{/*
29
30 ---------------------------------------
31
32 */}}{{with .Hit}}{{with .Decls}}PACKAGE-LEVEL DECLARATIONS
33
34 {{range .}}package {{.Pak.Name}}
35 {{range $file := .Files}}{{range .Groups}}{{range .}} {{srcLink $file.File.Path}}:{{infoLine .}}{{end}}
36 {{end}}{{end}}{{/* .Files */}}
37 {{end}}{{end}}{{/* .Decls */}}{{/*
38
39 ---------------------------------------
40
41 */}}{{with .Others}}LOCAL DECLARATIONS AND USES
42
43 {{range .}}package {{.Pak.Name}}
44 {{range $file := .Files}}{{range .Groups}}{{range .}} {{srcLink $file.File.Path}}:{{infoLine .}}
45 {{end}}{{end}}{{end}}{{/* .Files */}}
46 {{end}}{{end}}{{/* .Others */}}{{end}}{{/* .Hit */}}{{/*
47
48 ---------------------------------------
49
50 */}}{{if .Textual}}{{if .Complete}}{{.Found}} TEXTUAL OCCURRENCES{{else}}MORE THAN {{.Found}} TEXTUAL OCCURRENCES{{end}}
51
52 {{range .Textual}}{{len .Lines}} {{srcLink .Filename}}
53 {{end}}{{if not .Complete}}... ...
54 {{end}}{{end}}
View as plain text