mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
doc: use consistent receiver names, when it makes sense.
Makes for prettier docs. R=golang-dev, dsymonds, r, rsc CC=golang-dev https://golang.org/cl/5576056
This commit is contained in:
parent
25c96cba2e
commit
eb53d472ef
7 changed files with 65 additions and 65 deletions
|
|
@ -57,8 +57,8 @@ type FileHeader struct {
|
|||
}
|
||||
|
||||
// FileInfo returns an os.FileInfo for the FileHeader.
|
||||
func (fh *FileHeader) FileInfo() os.FileInfo {
|
||||
return headerFileInfo{fh}
|
||||
func (h *FileHeader) FileInfo() os.FileInfo {
|
||||
return headerFileInfo{h}
|
||||
}
|
||||
|
||||
// headerFileInfo implements os.FileInfo.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue