From 45ca908f890776459b46110dc44a4a99fc2160fb Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Thu, 12 Jan 2012 17:54:17 -0800 Subject: [PATCH] godoc: fix missing name change Fixes godoc text mode (i.e., URL?m=text). R=golang-dev, adg CC=golang-dev https://golang.org/cl/5545043 --- lib/godoc/package.html | 2 +- lib/godoc/package.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/godoc/package.html b/lib/godoc/package.html index d0a42b47baa..7073d72baa1 100644 --- a/lib/godoc/package.html +++ b/lib/godoc/package.html @@ -44,7 +44,7 @@ {{end}} {{with .PDoc}}

Overview

- + {{if $.IsPkg}}

import "{{html .ImportPath}}"

{{end}} diff --git a/lib/godoc/package.txt b/lib/godoc/package.txt index f219ecee96e..d88cda79fed 100644 --- a/lib/godoc/package.txt +++ b/lib/godoc/package.txt @@ -4,7 +4,7 @@ */}}{{with .PDoc}}{{if $.IsPkg}}PACKAGE -package {{.PackageName}} +package {{.Name}} import "{{.ImportPath}}" {{else}}COMMAND DOCUMENTATION