From 2f141f66467ca45a15383ffb4889a273270eb667 Mon Sep 17 00:00:00 2001 From: Jonathan Amsterdam Date: Tue, 7 Jul 2020 13:28:13 -0400 Subject: module-compatibility.article: add dot Change-Id: I2b349c6d4e2c602d34519174af9186b6a236d27b Reviewed-on: https://go-review.googlesource.com/c/blog/+/241072 Reviewed-by: Jean de Klerk --- content/module-compatibility.article | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'content/module-compatibility.article') 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. -- cgit v1.2.3