diff options
| author | Tom Levy <tomlevy93@gmail.com> | 2017-11-23 14:32:03 +1300 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2017-11-23 04:07:39 +0000 |
| commit | 8a092b74fce0d6cf20be1e9d8855beace7db03cd (patch) | |
| tree | d2b74bcc49056cd62a4112efc9ba6a2cf9edd43a | |
| parent | 294963fb7f8983c7f5560dc20ab75c869f30da14 (diff) | |
| download | go-8a092b74fce0d6cf20be1e9d8855beace7db03cd.tar.xz | |
doc: fix typo in Effective Go: s/ReaderWriter/ReadWriter/
Change-Id: I3bfe1b11265f0def4701faf2cfc1ad10a666a473
Reviewed-on: https://go-review.googlesource.com/79596
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
| -rw-r--r-- | doc/effective_go.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/effective_go.html b/doc/effective_go.html index 6d53eefbc3..61de824fcd 100644 --- a/doc/effective_go.html +++ b/doc/effective_go.html @@ -2790,7 +2790,7 @@ job := &Job{command, log.New(os.Stderr, "Job: ", log.Ldate)} <p> If we need to refer to an embedded field directly, the type name of the field, ignoring the package qualifier, serves as a field name, as it did -in the <code>Read</code> method of our <code>ReaderWriter</code> struct. +in the <code>Read</code> method of our <code>ReadWriter</code> struct. Here, if we needed to access the <code>*log.Logger</code> of a <code>Job</code> variable <code>job</code>, we would write <code>job.Logger</code>, |
