1
0
mirror of https://github.com/golang/go synced 2024-11-14 14:50:23 -07:00
go/lib/godoc/package.txt
Robert Griesemer 226c2ec256 godoc: support for multiple packages in a directory
- smartly select the "right" package
- provide a list of other packages

R=rsc
CC=golang-dev
https://golang.org/cl/466042
2010-03-12 18:16:21 -08:00

96 lines
920 B
Plaintext

{.section PAst}
{@}
{.end}
{.section PDoc}
{.section IsPkg}
PACKAGE
package {PackageName}
import "{ImportPath}"
{.or}
COMMAND DOCUMENTATION
{.end}
{.section Doc}
{@}
{.end}
{.section Consts}
CONSTANTS
{.repeated section @}
{Decl}
{Doc}
{.end}
{.end}
{.section Vars}
VARIABLES
{.repeated section @}
{Decl}
{Doc}
{.end}
{.end}
{.section Funcs}
FUNCTIONS
{.repeated section @}
{Decl}
{Doc}
{.end}
{.end}
{.section Types}
TYPES
{.repeated section @}
{Decl}
{Doc}
{.repeated section Consts}
{Decl}
{Doc}
{.end}
{.repeated section Vars}
{Decl}
{Doc}
{.end}
{.repeated section Factories}
{Decl}
{Doc}
{.end}
{.repeated section Methods}
{Decl}
{Doc}
{.end}
{.end}
{.end}
{.section Bugs}
BUGS
{.repeated section @}
{@}
{.end}
{.end}
{.end}
{.section PList}
OTHER PACKAGES
{.repeated section @}
{@}
{.end}
{.end}
{.section Dirs}
{.section Dirs}
SUBDIRECTORIES
{.repeated section List}
{Name}
{.end}
{.end}
{.end}