blob: 07063f2960d8106c7b268ccb6cc0aa6ee3db5d7c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package io
import (
"io"
)
// ReadSeekNopCloser wraps an io.ReadSeeker with an additional Close method
// that does nothing.
type ReadSeekNopCloser struct {
io.ReadSeeker
}
// Close does nothing.
func (ReadSeekNopCloser) Close() error {
return nil
}
|