{{$query_url := urlquery .Query}} {{with .Alert}}

{{html .}}

{{end}} {{with .Alt}}

Did you mean: {{range .Alts}} {{html .}} {{end}}

{{end}} {{with .Pak}}

Package {{html $.Query}}

{{range .}} {{$pkg_html := pkgLink .Pak.Path | html}} {{end}}
{{$pkg_html}}

{{end}} {{with .Hit}} {{with .Decls}}

Package-level declarations

{{range .}} {{$pkg_html := pkgLink .Pak.Path | html}}

package {{html .Pak.Name}}

{{range .Files}} {{$src_html := srcLink .File.Path | html}} {{range .Groups}} {{range .}} {{$src_html}}:{{infoLine .}} {{infoSnippet_html .}} {{end}} {{end}} {{end}} {{end}} {{end}} {{with .Others}}

Local declarations and uses

{{range .}} {{$pkg_html := pkgLink .Pak.Path | html}}

package {{html .Pak.Name}}

{{range .Files}} {{$src_html := srcLink .File.Path | html}} {{$src_html}} {{range .Groups}} {{end}}
{{index . 0 | infoKind_html}} {{range .}} {{infoLine .}} {{end}}
{{end}} {{end}} {{end}} {{end}} {{with .Textual}} {{if $.Complete}}

{{html $.Found}} textual occurrences

{{else}}

More than {{html $.Found}} textual occurrences

Not all files or lines containing "{{html $.Query}}" are shown.

{{end}}

{{range .}} {{$src_html := srcLink .Filename | html}} {{end}} {{if not $.Complete}} {{end}}
{{$src_html}}: {{len .Lines}} {{range .Lines}} {{html .}} {{end}} {{if not $.Complete}} ... {{end}}
...

{{end}}