From 6a45be66b42e482a06d9809d9da20c195380988b Mon Sep 17 00:00:00 2001 From: Mohamed Attahri Date: Mon, 12 Oct 2020 22:22:09 -0400 Subject: [PATCH] io: add a new ReadSeekCloser interface Research showed that this interface is defined frequently enough in real-world usage to justify its addition to the standard library. Fixes #40962 --- src/io/io.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/io/io.go b/src/io/io.go index 1a2eb5d1e6..2590dd96b0 100644 --- a/src/io/io.go +++ b/src/io/io.go @@ -149,7 +149,8 @@ type ReadSeeker interface { Seeker } -// ReadSeekCloser is the interface that groups the basic Read, Seek and Close methods. +// ReadSeekCloser is the interface that groups the basic Read, Seek and Close +// methods. type ReadSeekCloser interface { Reader Seeker