diff options
author | Jonathan Amsterdam <jba@google.com> | 2020-07-07 13:28:13 -0400 |
---|---|---|
committer | Jonathan Amsterdam <jba@google.com> | 2020-07-07 20:06:15 +0000 |
commit | 2f141f66467ca45a15383ffb4889a273270eb667 (patch) | |
tree | 6a922d723e14b4e19d68875a560dc4632432edf1 /content/module-compatibility.article | |
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>
Diffstat (limited to 'content/module-compatibility.article')
-rw-r--r-- | content/module-compatibility.article | 2 |
1 files changed, 1 insertions, 1 deletions
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 NewReader(r io.Reader) *Reader { } 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. |