• Robert Griesemer's avatar
    go/doc: revert API change (per former discussion) and cleanup · d571c5ca
    Robert Griesemer authored
    Separating Method from Func made the code only more complicated
    without adding much to the useability/readability of the API.
    Reverted to where it was, but leaving the new method-specific
    fields Orig and Level.
    
    Former clients (godoc) of doc.Method only used the Func fields;
    and because Func was embedded, no changes are needed with respect
    to the removal of Method.
    
    Changed type of Func.Recv from ast.Expr to string. This was a
    long-standing TODO. Also implemented Func.Orig field (another TODO).
    
    No further go/doc API changes are expected for Go 1.
    
    R=rsc, r, r
    CC=golang-dev
    https://golang.org/cl/5577043
    d571c5ca
Name
Last commit
Last update
..
codewalk.html Loading commit data...
codewalkdir.html Loading commit data...
dirlist.html Loading commit data...
error.html Loading commit data...
example.html Loading commit data...
godoc.html Loading commit data...
opensearch.xml Loading commit data...
package.html Loading commit data...
package.txt Loading commit data...
search.html Loading commit data...
search.txt Loading commit data...