mirror of
https://github.com/golang/go
synced 2024-11-21 17:04:42 -07:00
pkg/go/doc: fix undefined: doc.NewPackageDoc in headscan.go
R=golang-dev, bradfitz, gri CC=golang-dev https://golang.org/cl/5539059
This commit is contained in:
parent
bf734d62d8
commit
066551e49b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user