LEFT | RIGHT |
(no file at all) | |
1 <!-- | 1 <!-- |
2 Copyright 2009 The Go Authors. All rights reserved. | 2 Copyright 2009 The Go Authors. All rights reserved. |
3 Use of this source code is governed by a BSD-style | 3 Use of this source code is governed by a BSD-style |
4 license that can be found in the LICENSE file. | 4 license that can be found in the LICENSE file. |
5 --> | 5 --> |
6 {{with .PDoc}} | 6 {{with .PDoc}} |
7 {{if $.IsPkg}} | 7 {{if $.IsPkg}} |
8 <div id="short-nav"> | 8 <div id="short-nav"> |
9 <dl> | 9 <dl> |
10 <dd><code>import "{{html .ImportPath}}"</code></dd> | 10 <dd><code>import "{{html .ImportPath}}"</code></dd> |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 <dd> <a href="#{{$name_html
}}">{{node_html .Decl $.FSet}}</a></dd> | 43 <dd> <a href="#{{$name_html
}}">{{node_html .Decl $.FSet}}</a></dd> |
44 {{end}} | 44 {{end}} |
45 {{range .Methods}} | 45 {{range .Methods}} |
46 {{$name_html := html .Name}} | 46 {{$name_html := html .Name}} |
47 <dd> <a href="#{{$tname_htm
l}}.{{$name_html}}">{{node_html .Decl $.FSet}}</a></dd> | 47 <dd> <a href="#{{$tname_htm
l}}.{{$name_html}}">{{node_html .Decl $.FSet}}</a></dd> |
48 {{end}} | 48 {{end}} |
49 {{end}} | 49 {{end}} |
50 {{if .Bugs}} | 50 {{if .Bugs}} |
51 <dd><a href="#Bugs">Bugs</a></dd> | 51 <dd><a href="#Bugs">Bugs</a></dd> |
52 {{end}} | 52 {{end}} |
53 » » » <dd> | 53 » » </dl> |
54 » » » {{with .Filenames}} | 54 |
55 » » » » <h4>Package files</h4> | 55 » » {{with .Filenames}} |
56 » » » » <p> | 56 » » » <h4>Package files</h4> |
57 » » » » <span style="font-size:90%"> | 57 » » » <p> |
58 » » » » {{range .}} | 58 » » » <span style="font-size:90%"> |
59 » » » » » <a href="/{{.|srcLink}}">{{.|filename|ht
ml}}</a> | 59 » » » {{range .}} |
60 » » » » {{end}} | 60 » » » » <a href="/{{.|srcLink}}">{{.|filename|html}}</a> |
61 » » » » </span> | |
62 » » » » </p> | |
63 {{end}} | 61 {{end}} |
64 » » » </dd> | 62 » » » </span> |
65 » » </dl> | 63 » » » </p> |
| 64 » » {{end}} |
66 ········ | 65 ········ |
67 {{with .Consts}} | 66 {{with .Consts}} |
68 <h2 id="constants">Constants</h2> | 67 <h2 id="constants">Constants</h2> |
69 {{range .}} | 68 {{range .}} |
70 {{comment_html .Doc}} | 69 {{comment_html .Doc}} |
71 <pre>{{node_html .Decl $.FSet}}</pre> | 70 <pre>{{node_html .Decl $.FSet}}</pre> |
72 {{end}} | 71 {{end}} |
73 {{end}} | 72 {{end}} |
74 {{with .Vars}} | 73 {{with .Vars}} |
75 <h2 id="variables">Variables</h2> | 74 <h2 id="variables">Variables</h2> |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 {{range .}} | 139 {{range .}} |
141 <a href="?p={{urlquery .}}">{{html .}}</a><br /> | 140 <a href="?p={{urlquery .}}">{{html .}}</a><br /> |
142 {{end}} | 141 {{end}} |
143 </p> | 142 </p> |
144 {{end}} | 143 {{end}} |
145 | 144 |
146 {{with .Dirs}} | 145 {{with .Dirs}} |
147 {{/* DirList entries are numbers and strings - no need for FSet */}} | 146 {{/* DirList entries are numbers and strings - no need for FSet */}} |
148 <h2 id="subdirectories">Subdirectories</h2> | 147 <h2 id="subdirectories">Subdirectories</h2> |
149 <p> | 148 <p> |
150 » <table class="layout"> | 149 » <table class="dir"> |
151 <tr> | 150 <tr> |
152 » {{if $.DirFlat}} | 151 » <th>Name</th> |
153 » » <th align="left">Name</th> | 152 » <th> </th> |
154 » {{else}} | 153 » <th style="text-align: left; width: auto">Synopsis</th> |
155 » » <th align="left" colspan="{{html .MaxHeight}}">Name</th> | |
156 » {{end}} | |
157 » <th width="25"></th> | |
158 » <th align="left">Synopsis</th> | |
159 </tr> | 154 </tr> |
160 <tr> | 155 <tr> |
161 » <td align="left"><a href="..">..</a></td> | 156 » <td><a href="..">..</a></td> |
162 </tr> | 157 </tr> |
163 {{range .List}} | 158 {{range .List}} |
164 » » <tr> | 159 » <tr> |
165 » » {{if $.DirFlat}} | 160 » » <td> |
166 » » » <td align="left"><a href="{{html .Path}}">{{html .Path}}
</a></td> | 161 » » {{repeat ` ` .Depth}}<a href="{{htm
l .Path}}">{{html .Name}}</a> |
167 » » {{else}} | 162 » » </td> |
168 » » » {{repeat `<td width="20"></td>` .Depth}} | 163 » » <td> </td> |
169 » » » <td align="left" colspan="{{html .Height}}"><a href="{{h
tml .Path}}">{{html .Name}}</a></td> | 164 » » <td style="width: auto">{{html .Synopsis}}</td> |
170 » » {{end}} | 165 » </tr> |
171 » » <td></td> | |
172 » » <td align="left">{{html .Synopsis}}</td> | |
173 » » </tr> | |
174 {{end}} | 166 {{end}} |
175 </table> | 167 </table> |
176 </p> | 168 </p> |
177 {{end}} | 169 {{end}} |
LEFT | RIGHT |