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.
6 {{$query_url := urlquery .Query}}
9 <h2 id="Packages">Package {{html $.Query}}</h2>
11 <table class="layout">
13 {{$pkg_html := pkgLink .Pak.Path | html}}
14 <tr><td><a href="/{{$pkg_html}}">{{$pkg_html}}</a></td></tr>
22 <h2 id="Global">Package-level declarations</h2>
24 {{$pkg_html := pkgLink .Pak.Path | html}}
25 <h3 id="Global_{{$pkg_html}}">package <a href="/{{$pkg_html}}">{{html .Pak.Name}}</a></h3>
27 {{$file := .File.Path}}
30 {{$line := infoLine .}}
31 <a href="{{queryLink $file $query_url $line | html}}">{{$file}}:{{$line}}</a>
32 {{infoSnippet_html .}}
39 <h2 id="Local">Local declarations and uses</h2>
41 {{$pkg_html := pkgLink .Pak.Path | html}}
42 <h3 id="Local_{{$pkg_html}}">package <a href="/{{$pkg_html}}">{{html .Pak.Name}}</a></h3>
44 {{$file := .File.Path}}
45 <a href="{{queryLink $file $query_url 0 | html}}">{{$file}}</a>
46 <table class="layout">
50 <th align="left" valign="top">{{index . 0 | infoKind_html}}</th>
51 <td align="left" width="4"></td>
54 {{$line := infoLine .}}
55 <a href="{{queryLink $file $query_url $line | html}}">{{$line}}</a>