2 Copyright 2009 The Go Authors. All rights reserved.
3 Use of this source code is governed by a BSD-style
4 license that can be found in the LICENSE file.
7 {{ $colCount := tocColCount .}}
8 {{/* Generate the TOC */}}
9 <nav class="search-nav" style="column-count: {{$colCount}}" role="navigation">
10 {{range $key, $val := .Idents}}
12 <a href="#{{$key.Name}}">{{$key.Name}}</a>
19 <a href="#Packages">Package {{html $.Query}}</a>
26 <a href="#Global">Package-level declarations</a>
29 {{$pkg_html := pkgLink .Pak.Path | html}}
30 <a href="#Global_{{$pkg_html}}" class="indent">package {{html .Pak.Name}}</a>
35 <a href="#Local">Local declarations and uses</a>
38 {{$pkg_html := pkgLink .Pak.Path | html}}
39 <a href="#Local_{{$pkg_html}}" class="indent">package {{html .Pak.Name}}</a>
47 <a href="#Textual">{{html $.Found}} textual occurrences</a>
49 <a href="#Textual">More than {{html $.Found}} textual occurrences</a>
56 <span class="alert" style="font-size:120%">{{html .}}</span>
61 <span class="alert" style="font-size:120%">Did you mean: </span>
63 <a href="search?q={{urlquery .}}" style="font-size:120%">{{html .}}</a>