From 4f8488cc54eb299d2ebec784d6e4088b958bd392 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Carlos=20Ch=C3=A1vez?= Date: Mon, 15 Nov 2021 09:34:28 +0100 Subject: [PATCH] chore: removes unneeded receiver in timeoutError MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: José Carlos Chávez --- file.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/file.go b/file.go index 0385e41..2f79e46 100644 --- a/file.go +++ b/file.go @@ -43,9 +43,9 @@ var ( type timeoutError struct{} -func (e *timeoutError) Error() string { return "i/o timeout" } -func (e *timeoutError) Timeout() bool { return true } -func (e *timeoutError) Temporary() bool { return true } +func (*timeoutError) Error() string { return "i/o timeout" } +func (*timeoutError) Timeout() bool { return true } +func (*timeoutError) Temporary() bool { return true } type timeoutChan chan struct{}