2022-07-18 23:36:02 +00:00
|
|
|
package utf8
|
2018-07-02 18:26:04 +00:00
|
|
|
|
|
|
|
type NilWriterComplainer interface {
|
|
|
|
error
|
|
|
|
NilWriterComplainer()
|
|
|
|
}
|
|
|
|
|
|
|
|
type internalNilWriterComplainer struct{}
|
|
|
|
|
|
|
|
func (complainer internalNilWriterComplainer) Error() string {
|
|
|
|
return "Nil Writer"
|
|
|
|
}
|
|
|
|
|
|
|
|
func (complainer internalNilWriterComplainer) NilWriterComplainer() {
|
|
|
|
// Nothing here.
|
|
|
|
}
|