2011-08-15 16:42:27 -06:00
|
|
|
{{with .PAst}}{{node . $.FSet}}{{end}}{{/*
|
2009-06-16 10:14:06 -06:00
|
|
|
|
2011-08-11 14:24:13 -06:00
|
|
|
---------------------------------------
|
|
|
|
|
2011-08-15 16:42:27 -06:00
|
|
|
*/}}{{with .PDoc}}{{if $.IsPkg}}PACKAGE
|
2011-08-11 14:24:13 -06:00
|
|
|
|
|
|
|
package {{.PackageName}}
|
|
|
|
import "{{.ImportPath}}"
|
|
|
|
|
|
|
|
{{else}}COMMAND DOCUMENTATION
|
|
|
|
|
2011-08-15 16:42:27 -06:00
|
|
|
{{end}}{{.Doc}}{{/*
|
2011-08-11 14:24:13 -06:00
|
|
|
|
|
|
|
---------------------------------------
|
|
|
|
|
|
|
|
*/}}{{with .Consts}}
|
2009-06-16 10:14:06 -06:00
|
|
|
CONSTANTS
|
2009-06-22 15:18:23 -06:00
|
|
|
|
2011-08-15 16:42:27 -06:00
|
|
|
{{range .}}{{node .Decl $.FSet}}
|
2011-08-11 14:24:13 -06:00
|
|
|
{{.Doc}}{{end}}
|
|
|
|
{{end}}{{/*
|
|
|
|
|
|
|
|
---------------------------------------
|
2009-06-16 10:14:06 -06:00
|
|
|
|
2011-08-11 14:24:13 -06:00
|
|
|
*/}}{{with .Vars}}
|
2009-06-16 10:14:06 -06:00
|
|
|
VARIABLES
|
2009-06-22 15:18:23 -06:00
|
|
|
|
2011-08-15 16:42:27 -06:00
|
|
|
{{range .}}{{node .Decl $.FSet}}
|
2011-08-11 14:24:13 -06:00
|
|
|
{{.Doc}}{{end}}
|
|
|
|
{{end}}{{/*
|
2009-06-16 10:14:06 -06:00
|
|
|
|
2011-08-11 14:24:13 -06:00
|
|
|
---------------------------------------
|
|
|
|
|
|
|
|
*/}}{{with .Funcs}}
|
2009-06-16 10:14:06 -06:00
|
|
|
FUNCTIONS
|
2009-06-22 15:18:23 -06:00
|
|
|
|
2011-08-15 16:42:27 -06:00
|
|
|
{{range .}}{{node .Decl $.FSet}}
|
2011-08-11 14:24:13 -06:00
|
|
|
{{.Doc}}
|
|
|
|
{{end}}{{end}}{{/*
|
2009-06-16 10:14:06 -06:00
|
|
|
|
2011-08-11 14:24:13 -06:00
|
|
|
---------------------------------------
|
2009-06-22 15:18:23 -06:00
|
|
|
|
2011-08-11 14:24:13 -06:00
|
|
|
*/}}{{with .Types}}
|
|
|
|
TYPES
|
2009-07-09 17:38:17 -06:00
|
|
|
|
2011-08-15 16:42:27 -06:00
|
|
|
{{range .}}{{node .Decl $.FSet}}
|
2011-08-11 14:24:13 -06:00
|
|
|
{{.Doc}}
|
2011-08-15 16:42:27 -06:00
|
|
|
{{range .Consts}}{{node .Decl $.FSet}}
|
2011-08-11 14:24:13 -06:00
|
|
|
{{.Doc}}
|
2011-08-15 16:42:27 -06:00
|
|
|
{{end}}{{range .Vars}}{{node .Decl $.FSet}}
|
2011-08-11 14:24:13 -06:00
|
|
|
{{.Doc}}
|
2011-08-15 16:42:27 -06:00
|
|
|
{{end}}{{range .Factories}}{{node .Decl $.FSet}}
|
2011-08-11 14:24:13 -06:00
|
|
|
{{.Doc}}
|
2011-08-15 16:42:27 -06:00
|
|
|
{{end}}{{range .Methods}}{{node .Decl $.FSet}}
|
2011-08-11 14:24:13 -06:00
|
|
|
{{.Doc}}
|
|
|
|
{{end}}{{end}}{{end}}{{/*
|
|
|
|
|
|
|
|
---------------------------------------
|
|
|
|
|
|
|
|
*/}}{{with .Bugs}}
|
2009-07-09 17:38:17 -06:00
|
|
|
BUGS
|
|
|
|
|
2011-08-11 14:24:13 -06:00
|
|
|
{{range .}}{{.}}
|
|
|
|
{{end}}{{end}}{{end}}{{/*
|
|
|
|
|
|
|
|
---------------------------------------
|
2010-03-12 19:16:21 -07:00
|
|
|
|
2011-08-11 14:24:13 -06:00
|
|
|
*/}}{{with .PList}}
|
2010-03-12 19:16:21 -07:00
|
|
|
OTHER PACKAGES
|
|
|
|
|
2011-08-11 14:24:13 -06:00
|
|
|
{{range .}}
|
|
|
|
{{.}}{{end}}
|
|
|
|
{{end}}{{/*
|
|
|
|
|
|
|
|
---------------------------------------
|
2009-10-01 15:08:00 -06:00
|
|
|
|
2011-08-11 14:24:13 -06:00
|
|
|
*/}}{{with .Dirs}}
|
2009-10-01 15:08:00 -06:00
|
|
|
SUBDIRECTORIES
|
2011-11-17 15:47:49 -07:00
|
|
|
{{if $.DirFlat}}{{range .List}}
|
|
|
|
{{.Path}}{{end}}
|
|
|
|
{{else}}{{range .List}}
|
|
|
|
{{repeat `. ` .Depth}}{{.Name}}{{end}}
|
|
|
|
{{end}}{{end}}
|