• Andrei Vieru's avatar
    "godoc -src pkg_name" excludes duplicates entries · fffac807
    Andrei Vieru authored
    $ godoc xml | grep Copy\(\)
    func (c CharData) Copy() CharData
    func (c Comment) Copy() Comment
    func (d Directive) Copy() Directive
    func (p ProcInst) Copy() ProcInst
    func (e StartElement) Copy() StartElement
    --------------------------------------------
    $ godoc -src xml | grep Copy\(\)
    func (c CharData) Copy() CharData
    --------------------------------------------
    $ godoc -src xml Copy
    func (c CharData) Copy() CharData { return CharData(makeCopy(c)) }
    --------------------------------------------
    The command "godoc -src pkg_name" should output the interface of the named package, but it excludes all duplicate entries. Also the command "godoc -src pkg_name method_name" will output the source code only for one method even if there are more of them with the same name in the same package. This patch set fixes this issue.
    
    R=gri
    CC=golang-dev
    https://golang.org/cl/883051
    fffac807
Name
Last commit
Last update
..
5a Loading commit data...
5c Loading commit data...
5g Loading commit data...
5l Loading commit data...
6a Loading commit data...
6c Loading commit data...
6g Loading commit data...
6l Loading commit data...
8a Loading commit data...
8c Loading commit data...
8g Loading commit data...
8l Loading commit data...
cc Loading commit data...
cgo Loading commit data...
cov Loading commit data...
ebnflint Loading commit data...
gc Loading commit data...
godefs Loading commit data...
godoc Loading commit data...
gofmt Loading commit data...
goinstall Loading commit data...
gopack Loading commit data...
gotest Loading commit data...
goyacc Loading commit data...
hgpatch Loading commit data...
ld Loading commit data...
nm Loading commit data...
prof Loading commit data...
clean.bash Loading commit data...
make.bash Loading commit data...