{{with .PDoc}} {{if $.IsMain}} {{/* command documentation */}} {{comment_html .Doc}} {{else}} {{/* package documentation */}}
{{node_html $ .Decl true}}{{end}} {{end}} {{with .Vars}}
{{node_html $ .Decl true}}{{end}} {{end}} {{range .Funcs}} {{/* Name is a string - no need for FSet */}} {{$name_html := html .Name}}
{{node_html $ .Decl true}}{{comment_html .Doc}} {{example_html $ .Name}} {{callgraph_html $ "" .Name}} {{end}} {{range .Types}} {{$tname := .Name}} {{$tname_html := html .Name}}
{{node_html $ .Decl true}}{{range .Consts}} {{comment_html .Doc}}
{{node_html $ .Decl true}}{{end}} {{range .Vars}} {{comment_html .Doc}}
{{node_html $ .Decl true}}{{end}} {{example_html $ $tname}} {{implements_html $ $tname}} {{methodset_html $ $tname}} {{range .Funcs}} {{$name_html := html .Name}}
{{node_html $ .Decl true}}{{comment_html .Doc}} {{example_html $ .Name}} {{callgraph_html $ "" .Name}} {{end}} {{range .Methods}} {{$name_html := html .Name}}
{{node_html $ .Decl true}}{{comment_html .Doc}} {{$name := printf "%s_%s" $tname .Name}} {{example_html $ $name}} {{callgraph_html $ .Recv .Name}} {{end}} {{end}} {{end}} {{with $.Notes}} {{range $marker, $content := .}}
{{node_html $ $ast false}}{{end}} {{end}} {{with .Dirs}} {{/* DirList entries are numbers and strings - no need for FSet */}} {{if $.PDoc}}
Name | Synopsis | |
---|---|---|
.. | ||
{{html .Path}} | {{end}} {{else}}{{html .Name}} | {{end}}{{html .Synopsis}} |