{{$query_url := urlquery .Query}} {{if not .Idents}} {{with .Pak}}

Package {{html $.Query}}

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

{{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}}