From cc0b856ebee0fe659e031cb7ab3d72af5a8e64c7 Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Wed, 16 Jul 2014 09:39:11 +1000 Subject: [PATCH] go.tools/godoc/static: remove unnecessary mainframe wrapper Fixes golang/go#8300. LGTM=adonovan R=golang-codereviews, adonovan, bradfitz CC=golang-codereviews https://golang.org/cl/113130044 --- godoc/static/godoc.html | 10 ++++------ godoc/static/static.go | 14 ++++++-------- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/godoc/static/godoc.html b/godoc/static/godoc.html index 6a34b308..ee6a3a6d 100644 --- a/godoc/static/godoc.html +++ b/godoc/static/godoc.html @@ -16,7 +16,10 @@ -
+
+... +
+
@@ -85,11 +88,6 @@ and code is licensed under a BSD license.
-
-
-... -
- diff --git a/godoc/static/static.go b/godoc/static/static.go index 625ac16e..2b6b0121 100644 --- a/godoc/static/static.go +++ b/godoc/static/static.go @@ -61,7 +61,7 @@ var Files = map[string]string{ types are assignable to each interface type. Type analysis is relatively quick, requiring about 10 seconds for - the >200 packages of the standard library, for example. + the >200 packages of the standard library, for example.

Compiler errors

@@ -149,7 +149,7 @@ var Files = map[string]string{

In this example, hovering over the declaration of the - rot13 function (defined in in strings/strings.test.go) + rot13 function (defined in strings/strings_test.go) reveals that it is called in exactly one place.

@@ -485,7 +485,10 @@ var Files = map[string]string{ -
+
+... +
+
@@ -554,11 +557,6 @@ and code is licensed under a BSD license.
-
-
-... -
-