mirror of
https://github.com/golang/go
synced 2024-11-22 06:24:38 -07:00
4bdaf59cc9
Regular expressions may now be used in conjuction with full text search. Godoc will show the first 10000 occurences in the source code and highlight the respective text segments. - added new flag -testDir to specify a small directory for testing (fast index creation; default = "") - use new FormatText function to format text and Go source code in HTML, supporting multiple kinds of text selections simulatenously); this replaces the uses of go/printer Stylers - for now removed currently unused mechanism for identifier- specific JS popups (will come back in some form once we have type or other useful information) - various typo fixes and minor cleanups throughout Missing: - indexing of non-.go files R=r, r2 CC=golang-dev, rsc https://golang.org/cl/3699041
92 lines
2.5 KiB
HTML
92 lines
2.5 KiB
HTML
<!--
|
|
Copyright 2009 The Go Authors. All rights reserved.
|
|
Use of this source code is governed by a BSD-style
|
|
license that can be found in the LICENSE file.
|
|
-->
|
|
|
|
{.section Alert}
|
|
<p>
|
|
<span class="alert" style="font-size:120%">{@}</span>
|
|
</p>
|
|
{.end}
|
|
{.section Alt}
|
|
<p>
|
|
<span class="alert" style="font-size:120%">Did you mean: </span>
|
|
{.repeated section Alts}
|
|
<a href="search?q={@|html-esc}" style="font-size:120%">{@|html-esc}</a>
|
|
{.end}
|
|
</p>
|
|
{.end}
|
|
{.section Hit}
|
|
{.section Decls}
|
|
<h2 id="Global">Package-level declarations</h2>
|
|
{.repeated section @}
|
|
<h3 id="Global_{Pak.Path|url-pkg}">package <a href="/{Pak.Path|url-pkg}">{Pak.Name|html-esc}</a></h3>
|
|
{.repeated section Files}
|
|
{.repeated section Groups}
|
|
{.repeated section Infos}
|
|
<a href="/{File.Path|url-src}?h={Query|urlquery-esc}#L{@|infoLine}">{File.Path|url-src}:{@|infoLine}</a>
|
|
{@|infoSnippet}
|
|
{.end}
|
|
{.end}
|
|
{.end}
|
|
{.end}
|
|
{.end}
|
|
{.section Others}
|
|
<h2 id="Local">Local declarations and uses</h2>
|
|
{.repeated section @}
|
|
<h3 id="Local_{Pak.Path|url-pkg}">package <a href="/{Pak.Path|url-pkg}">{Pak.Name|html-esc}</a></h3>
|
|
{.repeated section Files}
|
|
<a href="/{File.Path|url-src}?h={Query|urlquery-esc}">{File.Path|url-src}</a>
|
|
<table class="layout">
|
|
{.repeated section Groups}
|
|
<tr>
|
|
<td width="25"></td>
|
|
<th align="left" valign="top">{Kind|infoKind}</th>
|
|
<td align="left" width="4"></td>
|
|
<td>
|
|
{.repeated section Infos}
|
|
<a href="/{File.Path|url-src}?h={Query|urlquery-esc}#L{@|infoLine}">{@|infoLine}</a>
|
|
{.end}
|
|
</td>
|
|
</tr>
|
|
{.end}
|
|
</table>
|
|
{.end}
|
|
{.end}
|
|
{.end}
|
|
{.end}
|
|
{.section Textual}
|
|
{.section Complete}
|
|
<h2 id="Textual">{Found|html-esc} textual occurrences</h2>
|
|
{.or}
|
|
<h2 id="Textual">More than {Found|html-esc} textual occurrences</h2>
|
|
<p>
|
|
<span class="alert" style="font-size:120%">Not all files or lines containing "{Query|html-esc}" are shown.</span>
|
|
</p>
|
|
{.end}
|
|
<p>
|
|
<table class="layout">
|
|
{.repeated section @}
|
|
<tr>
|
|
<td align="left" valign="top">
|
|
<a href="/{Filename|url-src}?h={Query|urlquery-esc}">{Filename|url-src}</a>:
|
|
</td>
|
|
<td align="left" width="4"></td>
|
|
<th align="left" valign="top">{Lines|numlines}</th>
|
|
<td align="left" width="4"></td>
|
|
<td align="left">
|
|
{.repeated section Lines}
|
|
<a href="/{Filename|url-src}?h={Query|urlquery-esc}#L{@|html-esc}">{@|html-esc}</a>
|
|
{.end}
|
|
</td>
|
|
</tr>
|
|
{.end}
|
|
{.section Complete}
|
|
{.or}
|
|
<tr><td align="left">...</td></tr>
|
|
{.end}
|
|
</table>
|
|
</p>
|
|
{.end}
|