{{with .PDoc}} {{if $.IsPkg}}
import "{{html .ImportPath}}"{{range .}} {{.|filename|html}} {{end}}
{{end}} {{with .Consts}}{{node_html .Decl $.FSet}}
{{end}}
{{end}}
{{with .Vars}}
{{node_html .Decl $.FSet}}
{{end}}
{{end}}
{{range .Funcs}}
{{/* Name is a string - no need for FSet */}}
{{$name_html := html .Name}}
{{node_html .Decl $.FSet}}
{{node_html .Decl $.FSet}}
{{range .Consts}}
{{comment_html .Doc}}
{{node_html .Decl $.FSet}}
{{end}}
{{range .Vars}}
{{comment_html .Doc}}
{{node_html .Decl $.FSet}}
{{end}}
{{example_html $tname $.Examples $.FSet}}
{{range .Funcs}}
{{$name_html := html .Name}}
{{node_html .Decl $.FSet}}
{{node_html .Decl $.FSet}}
{{node_html . $.FSet}}
{{end}}
{{with .PList}}
{{/* PList entries are strings - no need for FSet */}}
{{range .}}
{{html .}}
{{end}}
| Name | Synopsis | |
|---|---|---|
| .. | ||
| {{repeat ` ` .Depth}}{{html .Name}} | {{html .Synopsis}} |