You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- {{define "ROOT"}}{{with .pdoc}}PACKAGE{{if .Name}}
-
- package {{.Name}}
- import "{{.ImportPath}}"
-
- {{.Doc|comment}}
- {{if .Consts}}
- CONSTANTS
-
- {{range .Consts}}{{.Decl.Text}}
- {{.Doc|comment}}{{end}}
- {{end}}{{if .Vars}}
- VARIABLES
-
- {{range .Vars}}{{.Decl.Text}}
- {{.Doc|comment}}{{end}}
- {{end}}{{if .Funcs}}
- FUNCTIONS
-
- {{range .Funcs}}{{.Decl.Text}}
- {{.Doc|comment}}
- {{end}}{{end}}{{if .Types}}
- TYPES
-
- {{range .Types}}{{.Decl.Text}}
- {{.Doc|comment}}
- {{range .Consts}}{{.Decl.Text}}
- {{.Doc|comment}}
- {{end}}{{range .Vars}}{{.Decl.Text}}
- {{.Doc|comment}}
- {{end}}{{range .Funcs}}{{.Decl.Text}}
- {{.Doc|comment}}
- {{end}}{{range .Methods}}{{.Decl.Text}}
- {{.Doc|comment}}
- {{end}}{{end}}
- {{end}}
- {{template "Subdirs" $}}
- {{end}}{{end}}{{end}}
|