Skip to content

Commit

Permalink
Mimic go doc behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
pablojimpas committed Mar 2, 2023
1 parent cbc144d commit f9fa2a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parse/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ func Package(path string, files []string) (*PkgInfo, error) {
pi := &PkgInfo{
AstPkg: pkg,
DocPkg: p,
Description: p.Doc,
Description: string(p.Text(p.Doc)),
}

setNamespaces(pi)
Expand Down

0 comments on commit f9fa2a9

Please sign in to comment.