From 05e80cffc344167ccbc49f5b0c416e6372a4f796 Mon Sep 17 00:00:00 2001 From: Scott Lawrence Date: Mon, 20 Feb 2012 12:32:43 +1100 Subject: [PATCH] godoc: fix tag mismatch validation errors R=golang-dev, r CC=golang-dev https://golang.org/cl/5676099 --- lib/godoc/package.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/godoc/package.html b/lib/godoc/package.html index 0874b7fa284..841ad8df0fd 100644 --- a/lib/godoc/package.html +++ b/lib/godoc/package.html @@ -126,6 +126,7 @@ {{example_html $name $.Examples $.FSet}} {{end}} {{end}} + {{else}} {{/* not a package; is a command */}} {{comment_html .Doc}} {{end}} @@ -155,7 +156,6 @@ {{with .Dirs}} {{/* DirList entries are numbers and strings - no need for FSet */}}

Subdirectories

-

@@ -175,5 +175,4 @@ {{end}}
Name
-

{{end}}