mirror of
https://github.com/golang/go
synced 2024-11-07 15:06:16 -07:00
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
This commit is contained in:
parent
4b81ee3f5f
commit
6a45be66b4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user