• Daniel Martí's avatar
    go/types: use consistent receiver names · 06a795e4
    Daniel Martí authored
    Inconsistent names are quite obvious on the godoc HTML rendering:
    
    	type Array
    	    func NewArray(elem Type, len int64) *Array
    	    func (a *Array) Elem() Type
    	    func (a *Array) Len() int64
    	    func (t *Array) String() string
    	    func (t *Array) Underlying() Type
    
    Fix all the String and Underlying methods to be consistent with their
    types. This makes these two lists of methods less consistent, but that's
    not visible to the user.
    
    This also makes the inconsistent receiver names rule in golint happy.
    
    Change-Id: I7c84d6bae1235887233a70d5f7f61a224106e952
    Reviewed-on: https://go-review.googlesource.com/91736Reviewed-by: 's avatarRobert Griesemer <gri@golang.org>
    06a795e4
Name
Last commit
Last update
.github Loading commit data...
api Loading commit data...
doc Loading commit data...
lib/time Loading commit data...
misc Loading commit data...
src Loading commit data...
test Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
CONTRIBUTORS Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
VERSION Loading commit data...
favicon.ico Loading commit data...
robots.txt Loading commit data...