Commit 066551e4 authored by Olivier Duperray's avatar Olivier Duperray Committed by Robert Griesemer

pkg/go/doc: fix undefined: doc.NewPackageDoc in headscan.go

R=golang-dev, bradfitz, gri
CC=golang-dev
https://golang.org/cl/5539059
parent bf734d62
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment