You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
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
|
|
}
|