Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(955)

Delta Between Two Patch Sets: lib/godoc/package.html

Issue 5451094: code review 5451094: godoc: Show type examples between variables and methods. (Closed)
Left Patch Set: Created 13 years, 4 months ago
Right Patch Set: diff -r adff3701bfc7 https://go.googlecode.com/hg/ Created 13 years, 4 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(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 <!-- Table of contents; must be named manual-nav to turn off auto nav. --> 6 <!-- Table of contents; must be named manual-nav to turn off auto nav. -->
7 <div id="manual-nav"> 7 <div id="manual-nav">
8 {{with .PDoc}} 8 {{with .PDoc}}
9 <dl> 9 <dl>
10 <dd><a href="#Overview">Overview</a></dd> 10 <dd><a href="#Overview">Overview</a></dd>
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 <p><code>{{node_html .Decl $.FSet}}</code></p> 82 <p><code>{{node_html .Decl $.FSet}}</code></p>
83 {{comment_html .Doc}} 83 {{comment_html .Doc}}
84 {{example_html .Name $.Examples $.FSet}} 84 {{example_html .Name $.Examples $.FSet}}
85 {{end}} 85 {{end}}
86 {{range .Types}} 86 {{range .Types}}
87 {{$tname := printf "%s" .Type.Name}} 87 {{$tname := printf "%s" .Type.Name}}
88 {{$tname_html := node_html .Type.Name $.FSet}} 88 {{$tname_html := node_html .Type.Name $.FSet}}
89 <h2 id="{{$tname_html}}">type <a href="/{{posLink_url .Decl $.FS et}}">{{$tname_html}}</a></h2> 89 <h2 id="{{$tname_html}}">type <a href="/{{posLink_url .Decl $.FS et}}">{{$tname_html}}</a></h2>
90 {{comment_html .Doc}} 90 {{comment_html .Doc}}
91 <p><pre>{{node_html .Decl $.FSet}}</pre></p> 91 <p><pre>{{node_html .Decl $.FSet}}</pre></p>
92 {{example_html $tname $.Examples $.FSet}}
93 {{range .Consts}} 92 {{range .Consts}}
94 {{comment_html .Doc}} 93 {{comment_html .Doc}}
95 <pre>{{node_html .Decl $.FSet}}</pre> 94 <pre>{{node_html .Decl $.FSet}}</pre>
96 {{end}} 95 {{end}}
97 {{range .Vars}} 96 {{range .Vars}}
98 {{comment_html .Doc}} 97 {{comment_html .Doc}}
99 <pre>{{node_html .Decl $.FSet}}</pre> 98 <pre>{{node_html .Decl $.FSet}}</pre>
100 {{end}} 99 {{end}}
100 {{example_html $tname $.Examples $.FSet}}
101 {{range .Factories}} 101 {{range .Factories}}
102 {{$name_html := html .Name}} 102 {{$name_html := html .Name}}
103 <h3 id="{{$name_html}}">func <a href="/{{posLink_url .De cl $.FSet}}">{{$name_html}}</a></h3> 103 <h3 id="{{$name_html}}">func <a href="/{{posLink_url .De cl $.FSet}}">{{$name_html}}</a></h3>
104 <p><code>{{node_html .Decl $.FSet}}</code></p> 104 <p><code>{{node_html .Decl $.FSet}}</code></p>
105 {{comment_html .Doc}} 105 {{comment_html .Doc}}
106 {{example_html .Name $.Examples $.FSet}} 106 {{example_html .Name $.Examples $.FSet}}
107 {{end}} 107 {{end}}
108 {{range .Methods}} 108 {{range .Methods}}
109 {{$name_html := html .Name}} 109 {{$name_html := html .Name}}
110 <h3 id="{{$tname_html}}.{{$name_html}}">func ({{node_htm l .Recv $.FSet}}) <a href="/{{posLink_url .Decl $.FSet}}">{{$name_html}}</a></h3 > 110 <h3 id="{{$tname_html}}.{{$name_html}}">func ({{node_htm l .Recv $.FSet}}) <a href="/{{posLink_url .Decl $.FSet}}">{{$name_html}}</a></h3 >
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 {{repeat `<td width="20"></td>` .Depth}} 160 {{repeat `<td width="20"></td>` .Depth}}
161 <td align="left" colspan="{{html .Height}}"><a href="{{h tml .Path}}">{{html .Name}}</a></td> 161 <td align="left" colspan="{{html .Height}}"><a href="{{h tml .Path}}">{{html .Name}}</a></td>
162 {{end}} 162 {{end}}
163 <td></td> 163 <td></td>
164 <td align="left">{{html .Synopsis}}</td> 164 <td align="left">{{html .Synopsis}}</td>
165 </tr> 165 </tr>
166 {{end}} 166 {{end}}
167 </table> 167 </table>
168 </p> 168 </p>
169 {{end}} 169 {{end}}
LEFTRIGHT
« no previous file | no next file » | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b