We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 294963f commit 8a092b7Copy full SHA for 8a092b7
doc/effective_go.html
@@ -2790,7 +2790,7 @@ <h2 id="embedding">Embedding</h2>
2790
<p>
2791
If we need to refer to an embedded field directly, the type name of the field,
2792
ignoring the package qualifier, serves as a field name, as it did
2793
-in the <code>Read</code> method of our <code>ReaderWriter</code> struct.
+in the <code>Read</code> method of our <code>ReadWriter</code> struct.
2794
Here, if we needed to access the
2795
<code>*log.Logger</code> of a <code>Job</code> variable <code>job</code>,
2796
we would write <code>job.Logger</code>,
0 commit comments