chore: removes unneeded receiver in timeoutError

Signed-off-by: José Carlos Chávez <jcchavezs@gmail.com>
This commit is contained in:
José Carlos Chávez
2022-07-14 10:23:56 +02:00
parent 60c1574cd7
commit 4f8488cc54
+3 -3
View File
@@ -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{}