From: Tom Levy Date: Thu, 23 Nov 2017 01:32:03 +0000 (+1300) Subject: doc: fix typo in Effective Go: s/ReaderWriter/ReadWriter/ X-Git-Tag: go1.10beta1~151 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8a092b74fce0d6cf20be1e9d8855beace7db03cd;p=gostls13.git doc: fix typo in Effective Go: s/ReaderWriter/ReadWriter/ Change-Id: I3bfe1b11265f0def4701faf2cfc1ad10a666a473 Reviewed-on: https://go-review.googlesource.com/79596 Reviewed-by: Brad Fitzpatrick --- 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)}

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 Read method of our ReaderWriter struct. +in the Read method of our ReadWriter struct. Here, if we needed to access the *log.Logger of a Job variable job, we would write job.Logger,