Browse Source

Merge branch 'master' of https://github.com/gpmgo/gopm

pull/103/head
Unknown 12 years ago
parent
commit
5c2a863b96
  1. 3
      doc/walker.go

3
doc/walker.go

@ -154,6 +154,9 @@ func (w *walker) build(srcs []*source, nod *Node) ([]string, error) {
pdoc := doc.New(apkg, w.ImportPath, mode)
nod.Synopsis = Synopsis(pdoc.Doc)
if i := strings.Index(nod.Synopsis, "\n"); i > -1 {
nod.Synopsis = nod.Synopsis[:i]
}
return imports, err
}

Loading…
Cancel
Save