aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2009-08-31 10:47:34 -0700
committerRobert Griesemer <gri@golang.org>2009-08-31 10:47:34 -0700
commit3dc7b382f941eff01b893250d2ce33407453adb2 (patch)
tree8b435939fe1f513e9a0bc66a66c4f48a0cf7896a /lib
parentc62b9d8f2aeb638fccea32599b02fee9df08d76a (diff)
downloadgo-3dc7b382f941eff01b893250d2ce33407453adb2.tar.xz
associate const and var declarations with a type where possible
R=rsc DELTA=105 (87 added, 7 deleted, 11 changed) OCL=34062 CL=34119
Diffstat (limited to 'lib')
-rw-r--r--lib/godoc/package.html8
-rw-r--r--lib/godoc/package.txt8
2 files changed, 16 insertions, 0 deletions
diff --git a/lib/godoc/package.html b/lib/godoc/package.html
index c7ae7593df..a14398aa21 100644
--- a/lib/godoc/package.html
+++ b/lib/godoc/package.html
@@ -48,6 +48,14 @@
<h2>type <a href="{Decl|link}">{Type.Name|html}</a></h2>
{Doc|html-comment}
<p><pre>{Decl|html}</pre></p>
+ {.repeated section Consts}
+ {Doc|html-comment}
+ <pre>{Decl|html}</pre>
+ {.end}
+ {.repeated section Vars}
+ {Doc|html-comment}
+ <pre>{Decl|html}</pre>
+ {.end}
{.repeated section Factories}
<h3>func <a href="{Decl|link}">{Name|html}</a></h3>
<p><code>{Decl|html}</code></p>
diff --git a/lib/godoc/package.txt b/lib/godoc/package.txt
index 0dde78c6cf..8d836ccd19 100644
--- a/lib/godoc/package.txt
+++ b/lib/godoc/package.txt
@@ -48,6 +48,14 @@ TYPES
{.repeated section @}
{Decl}
{Doc}
+{.repeated section Consts}
+{Decl}
+{Doc}
+{.end}
+{.repeated section Vars}
+{Decl}
+{Doc}
+{.end}
{.repeated section Factories}
{Decl}
{Doc}