Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201028153306-37f0764111ff / godoc / static / packageroot.html
1 <!--
2         Copyright 2018 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.
5 -->
6 <!--
7         Note: Static (i.e., not template-generated) href and id
8         attributes start with "pkg-" to make it impossible for
9         them to conflict with generated attributes (some of which
10         correspond to Go identifiers).
11 -->
12 {{with .PAst}}
13         {{range $filename, $ast := .}}
14                 <a href="{{$filename|srcLink|html}}">{{$filename|filename|html}}</a>:<pre>{{node_html $ $ast false}}</pre>
15         {{end}}
16 {{end}}
17
18 {{with .Dirs}}
19         {{/* DirList entries are numbers and strings - no need for FSet */}}
20         {{if $.PDoc}}
21                 <h2 id="pkg-subdirectories">Subdirectories</h2>
22         {{end}}
23                 <div id="manual-nav">
24                         <dl>
25                                 <dt><a href="#stdlib">Standard library</a></dt>
26                                 {{if hasThirdParty .List }}
27                                         <dt><a href="#thirdparty">Third party</a></dt>
28                                 {{end}}
29                                 <dt><a href="#other">Other packages</a></dt>
30                                 <dd><a href="#subrepo">Sub-repositories</a></dd>
31                                 <dd><a href="#community">Community</a></dd>
32                         </dl>
33                 </div>
34
35                 <div id="stdlib" class="toggleVisible">
36                         <div class="collapsed">
37                                 <h2 class="toggleButton" title="Click to show Standard library section">Standard library ▹</h2>
38                         </div>
39                         <div class="expanded">
40                                 <h2 class="toggleButton" title="Click to hide Standard library section">Standard library ▾</h2>
41                                 <img alt="" class="gopher" src="/doc/gopher/pkg.png"/>
42                                 <div class="pkg-dir">
43                                         <table>
44                                                 <tr>
45                                                         <th class="pkg-name">Name</th>
46                                                         <th class="pkg-synopsis">Synopsis</th>
47                                                 </tr>
48
49                                                 {{range .List}}
50                                                         <tr>
51                                                         {{if eq .RootType "GOROOT"}}
52                                                         {{if $.DirFlat}}
53                                                                 {{if .HasPkg}}
54                                                                                 <td class="pkg-name">
55                                                                                         <a href="{{html .Path}}/{{modeQueryString $.Mode | html}}">{{html .Path}}</a>
56                                                                                 </td>
57                                                                 {{end}}
58                                                         {{else}}
59                                                                         <td class="pkg-name" style="padding-left: {{multiply .Depth 20}}px;">
60                                                                                 <a href="{{html .Path}}/{{modeQueryString $.Mode | html}}">{{html .Name}}</a>
61                                                                         </td>
62                                                         {{end}}
63                                                                 <td class="pkg-synopsis">
64                                                                         {{html .Synopsis}}
65                                                                 </td>
66                                                         {{end}}
67                                                         </tr>
68                                                 {{end}}
69                                         </table>
70                                 </div> <!-- .pkg-dir -->
71                         </div> <!-- .expanded -->
72                 </div> <!-- #stdlib .toggleVisible -->
73
74         {{if hasThirdParty .List }}
75                 <div id="thirdparty" class="toggleVisible">
76                         <div class="collapsed">
77                                 <h2 class="toggleButton" title="Click to show Third party section">Third party ▹</h2>
78                         </div>
79                         <div class="expanded">
80                                 <h2 class="toggleButton" title="Click to hide Third party section">Third party ▾</h2>
81                                 <div class="pkg-dir">
82                                         <table>
83                                                 <tr>
84                                                         <th class="pkg-name">Name</th>
85                                                         <th class="pkg-synopsis">Synopsis</th>
86                                                 </tr>
87
88                                                 {{range .List}}
89                                                         <tr>
90                                                                 {{if eq .RootType "GOPATH"}}
91                                                                 {{if $.DirFlat}}
92                                                                         {{if .HasPkg}}
93                                                                                         <td class="pkg-name">
94                                                                                                 <a href="{{html .Path}}/{{modeQueryString $.Mode | html}}">{{html .Path}}</a>
95                                                                                         </td>
96                                                                         {{end}}
97                                                                 {{else}}
98                                                                                 <td class="pkg-name" style="padding-left: {{multiply .Depth 20}}px;">
99                                                                                         <a href="{{html .Path}}/{{modeQueryString $.Mode | html}}">{{html .Name}}</a>
100                                                                                 </td>
101                                                                 {{end}}
102                                                                         <td class="pkg-synopsis">
103                                                                                 {{html .Synopsis}}
104                                                                         </td>
105                                                                 {{end}}
106                                                         </tr>
107                                                 {{end}}
108                                         </table>
109                                 </div> <!-- .pkg-dir -->
110                         </div> <!-- .expanded -->
111                 </div> <!-- #stdlib .toggleVisible -->
112         {{end}}
113
114         <h2 id="other">Other packages</h2>
115         <h3 id="subrepo">Sub-repositories</h3>
116         <p>
117         These packages are part of the Go Project but outside the main Go tree.
118         They are developed under looser <a href="/doc/go1compat">compatibility requirements</a> than the Go core.
119         Install them with "<a href="/cmd/go/#hdr-Download_and_install_packages_and_dependencies">go get</a>".
120         </p>
121         <ul>
122                 <li><a href="//godoc.org/golang.org/x/benchmarks">benchmarks</a> — benchmarks to measure Go as it is developed.</li>
123                 <li><a href="//godoc.org/golang.org/x/blog">blog</a> — <a href="//blog.golang.org">blog.golang.org</a>'s implementation.</li>
124                 <li><a href="//godoc.org/golang.org/x/build">build</a> — <a href="//build.golang.org">build.golang.org</a>'s implementation.</li>
125                 <li><a href="//godoc.org/golang.org/x/crypto">crypto</a> — additional cryptography packages.</li>
126                 <li><a href="//godoc.org/golang.org/x/debug">debug</a> — an experimental debugger for Go.</li>
127                 <li><a href="//godoc.org/golang.org/x/image">image</a> — additional imaging packages.</li>
128                 <li><a href="//godoc.org/golang.org/x/mobile">mobile</a> — experimental support for Go on mobile platforms.</li>
129                 <li><a href="//godoc.org/golang.org/x/net">net</a> — additional networking packages.</li>
130                 <li><a href="//godoc.org/golang.org/x/perf">perf</a> — packages and tools for performance measurement, storage, and analysis.</li>
131                 <li><a href="//godoc.org/golang.org/x/review">review</a> — a tool for working with Gerrit code reviews.</li>
132                 <li><a href="//godoc.org/golang.org/x/sync">sync</a> — additional concurrency primitives.</li>
133                 <li><a href="//godoc.org/golang.org/x/sys">sys</a> — packages for making system calls.</li>
134                 <li><a href="//godoc.org/golang.org/x/text">text</a> — packages for working with text.</li>
135                 <li><a href="//godoc.org/golang.org/x/time">time</a> — additional time packages.</li>
136                 <li><a href="//godoc.org/golang.org/x/tools">tools</a> — godoc, goimports, gorename, and other tools.</li>
137                 <li><a href="//godoc.org/golang.org/x/tour">tour</a> — <a href="//tour.golang.org">tour.golang.org</a>'s implementation.</li>
138                 <li><a href="//godoc.org/golang.org/x/exp">exp</a> — experimental and deprecated packages (handle with care; may change without warning).</li>
139         </ul>
140
141         <h3 id="community">Community</h3>
142         <p>
143         These services can help you find Open Source packages provided by the community.
144         </p>
145         <ul>
146                 <li><a href="//godoc.org">GoDoc</a> - a package index and search engine.</li>
147                 <li><a href="http://go-search.org">Go Search</a> - a code search engine.</li>
148                 <li><a href="/wiki/Projects">Projects at the Go Wiki</a> - a curated list of Go projects.</li>
149         </ul>
150 {{end}}