commit | 2f141f66467ca45a15383ffb4889a273270eb667 | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Tue Jul 07 13:28:13 2020 -0400 |
committer | Jonathan Amsterdam <jba@google.com> | Tue Jul 07 20:06:15 2020 +0000 |
tree | 6a922d723e14b4e19d68875a560dc4632432edf1 | |
parent | 52f6e033d5643a89ff59ffe1cd1fa6f0fa949e99 [diff] |
module-compatibility.article: add dot Change-Id: I2b349c6d4e2c602d34519174af9186b6a236d27b Reviewed-on: https://go-review.googlesource.com/c/blog/+/241072 Reviewed-by: Jean de Klerk <deklerk@google.com>
diff --git a/content/module-compatibility.article b/content/module-compatibility.article index 4377b34..9ade469 100644 --- a/content/module-compatibility.article +++ b/content/module-compatibility.article
@@ -147,7 +147,7 @@ } func (r *Reader) Read(b []byte) (int, error) { - if rs, ok := r.r(io.Seeker); ok { + if rs, ok := r.r.(io.Seeker); ok { // Use more efficient rs.Seek. } // Use less efficient r.r.Read.