infra
/
goutils
Archived
1
0
Fork 0
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.
goutils/io/reader.go

18 lines
203 B
Go

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
)