Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201105173854-bc9fc8d8c4bc / godoc / static / searchdoc.html
1 <!--
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.
5 -->
6 {{range $key, $val := .Idents}}
7         {{if $val}}
8                 <h2 id="{{$key.Name}}">{{$key.Name}}</h2>
9                 {{range $val}}
10                         {{$pkg_html := pkgLink .Path | html}}
11                         {{if eq "Packages" $key.Name}}
12                                 <a href="/{{$pkg_html}}">{{html .Path}}</a>
13                         {{else}}
14                                 {{$doc_html := docLink .Path .Name| html}}
15                                 <a href="/{{$pkg_html}}">{{html .Package}}</a>.<a href="{{$doc_html}}">{{.Name}}</a>
16                         {{end}}
17                         {{if .Doc}}
18                                 <p>{{comment_html .Doc}}</p>
19                         {{else}}
20                                 <p><em>No documentation available</em></p>
21                         {{end}}
22                 {{end}}
23         {{end}}
24 {{end}}