2011-08-11 14:24:13 -06:00
|
|
|
{{$FSet := .FSet}}{{$Info := .}}{{/*
|
2009-06-16 10:14:06 -06:00
|
|
|
|
2011-08-11 14:24:13 -06:00
|
|
|
---------------------------------------
|
|
|
|
|
2011-08-12 16:43:10 -06:00
|
|
|
*/}}{{with .PAst}}{{node . $FSet}}{{end}}{{/*
|
2011-08-11 14:24:13 -06:00
|
|
|
|
|
|
|
---------------------------------------
|
|
|
|
|
|
|
|
*/}}{{with .PDoc}}{{if $Info.IsPkg}}PACKAGE
|
|
|
|
|
|
|
|
package {{.PackageName}}
|
|
|
|
import "{{.ImportPath}}"
|
|
|
|
|
|
|
|
{{else}}COMMAND DOCUMENTATION
|
|
|
|
{{end}}{{/*
|
|
|
|
|
|
|
|
---------------------------------------
|
|
|
|
|
2011-08-12 16:43:10 -06:00
|
|
|
*/}}{{with .Doc}}{{node . $FSet}}
|
2011-08-11 14:24:13 -06:00
|
|
|
{{end}}{{/*
|
|
|
|
|
|
|
|
---------------------------------------
|
|
|
|
|
|
|
|
*/}}{{with .Consts}}
|
2009-06-16 10:14:06 -06:00
|
|
|
CONSTANTS
|
2009-06-22 15:18:23 -06:00
|
|
|
|
2011-08-12 16:43:10 -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-12 16:43:10 -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-12 16:43:10 -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-12 16:43:10 -06:00
|
|
|
{{range .}}{{node .Decl $FSet}}
|
2011-08-11 14:24:13 -06:00
|
|
|
{{.Doc}}
|
2011-08-12 16:43:10 -06:00
|
|
|
{{range .Consts}}{{node .Decl $FSet}}
|
2011-08-11 14:24:13 -06:00
|
|
|
{{.Doc}}
|
2011-08-12 16:43:10 -06:00
|
|
|
{{end}}{{range .Vars}}{{node .Decl $FSet}}
|
2011-08-11 14:24:13 -06:00
|
|
|
{{.Doc}}
|
2011-08-12 16:43:10 -06:00
|
|
|
{{end}}{{range .Factories}}{{node .Decl $FSet}}
|
2011-08-11 14:24:13 -06:00
|
|
|
{{.Doc}}
|
2011-08-12 16:43:10 -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-08-11 14:24:13 -06:00
|
|
|
{{range .List}}
|
|
|
|
{{.Name}}{{end}}
|
|
|
|
{{end}}
|