{{$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}} {{range $key, $val := .Idents}} {{if $val}}

{{$key.Name}}

{{range $val}} {{$pkg_html := pkgLink .Path | html}} {{$doc_html := docLink .Path .Name| html}} {{html .Package}}.{{.Name}} {{if .Doc}}

{{comment_html .Doc}}

{{else}}

No documentation available

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

Package-level declarations

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

package {{html .Pak.Name}}

{{range .Files}} {{$file := .File.Path}} {{range .Groups}} {{range .}} {{$line := infoLine .}} {{$file}}:{{$line}} {{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}} {{$file := .File.Path}} {{$file}} {{range .Groups}} {{end}}
{{index . 0 | infoKind_html}} {{range .}} {{$line := infoLine .}} {{$line}} {{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 .}} {{$file := .Filename}} {{end}} {{if not $.Complete}} {{end}}
{{$file}}: {{len .Lines}} {{range .Lines}} {{html .}} {{end}} {{if not $.Complete}} ... {{end}}
...

{{end}}