From 066551e49bc223b3b73704e47cc1e489e4c3292d Mon Sep 17 00:00:00 2001 From: Olivier Duperray Date: Fri, 13 Jan 2012 16:45:30 -0800 Subject: [PATCH] pkg/go/doc: fix undefined: doc.NewPackageDoc in headscan.go R=golang-dev, bradfitz, gri CC=golang-dev https://golang.org/cl/5539059 --- src/pkg/go/doc/headscan.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkg/go/doc/headscan.go b/src/pkg/go/doc/headscan.go index 838223be745..37486b126fd 100644 --- a/src/pkg/go/doc/headscan.go +++ b/src/pkg/go/doc/headscan.go @@ -77,7 +77,7 @@ func main() { return nil } for _, pkg := range pkgs { - d := doc.NewPackageDoc(pkg, path) + d := doc.New(pkg, path, doc.Mode(0)) list := appendHeadings(nil, d.Doc) for _, d := range d.Consts { list = appendHeadings(list, d.Doc)