utf8s.NilReaderComplainer
parent
4e0aa2bdc2
commit
f755b9ec77
|
@ -0,0 +1,16 @@
|
|||
package utf8s
|
||||
|
||||
type NilReaderComplainer interface {
|
||||
error
|
||||
NilReaderComplainer()
|
||||
}
|
||||
|
||||
type internalNilReaderComplainer struct{}
|
||||
|
||||
func (complainer internalNilReaderComplainer) Error() string {
|
||||
return "Nil Reader"
|
||||
}
|
||||
|
||||
func (complainer internalNilReaderComplainer) NilReaderComplainer() {
|
||||
// Nothing here.
|
||||
}
|
Loading…
Reference in New Issue