1
0
mirror of https://github.com/golang/go synced 2024-11-23 00:50:05 -07:00
go/usr/gri/pretty/packagelist.txt
Rob Pike 4b62e8d7ef fix template.
.or works in .repeated so remove the comment.
the bug was in the template: .section executes iff the field is non-empty.

R=gri
DELTA=13  (6 added, 7 deleted, 0 changed)
OCL=27710
CL=27712
2009-04-21 22:26:08 -07:00

11 lines
174 B
Plaintext

{.repeated section Packages}
godoc {pakname}
{.or}
godoc: package not found: {Path}
{.end}
{.section Packages}
{.repeated section Subdirs}
godoc {Path}/{Name}/
{.end}
{.end}