This repository has been archived on 2022-04-06. You can view files and clone it, but cannot push or open issues or pull requests.
|
package io
|
|
|
|
import "io"
|
|
|
|
type nopReader bool
|
|
|
|
func (nopReader) Read(p []byte) (int, error) {
|
|
return 0, io.EOF
|
|
}
|
|
|
|
func (nopReader) Close() (error) {
|
|
return nil
|
|
}
|
|
|
|
const (
|
|
NopReader nopReader = false
|
|
)
|