go-utf8/nilreader.go

17 lines
304 B
Go
Raw Normal View History

2022-07-18 23:36:02 +00:00
package utf8
2018-07-02 09:15:35 +00:00
type NilReaderComplainer interface {
error
NilReaderComplainer()
}
type internalNilReaderComplainer struct{}
func (complainer internalNilReaderComplainer) Error() string {
return "Nil Reader"
}
func (complainer internalNilReaderComplainer) NilReaderComplainer() {
// Nothing here.
}