From af848926431da0345fd78c0dba0a513df44ee1cf Mon Sep 17 00:00:00 2001
From: Volker Dobler
Date: Tue, 6 Dec 2011 10:52:43 +1100
Subject: [PATCH] godoc: Show type examples between variables and methods.
Fixes #2466.
R=golang-dev, adg
CC=golang-dev
https://golang.org/cl/5451094
---
lib/godoc/package.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/godoc/package.html b/lib/godoc/package.html
index 6c7be705885..1286f6eff41 100644
--- a/lib/godoc/package.html
+++ b/lib/godoc/package.html
@@ -89,7 +89,6 @@
{{comment_html .Doc}}
{{node_html .Decl $.FSet}}
- {{example_html $tname $.Examples $.FSet}}
{{range .Consts}}
{{comment_html .Doc}}
{{node_html .Decl $.FSet}}
@@ -98,6 +97,7 @@
{{comment_html .Doc}}
{{node_html .Decl $.FSet}}
{{end}}
+ {{example_html $tname $.Examples $.FSet}}
{{range .Factories}}
{{$name_html := html .Name}}