utf8s.InvalidUTF8Complainer
parent
f755b9ec77
commit
a2fb1ef442
|
@ -0,0 +1,16 @@
|
|||
package utf8s
|
||||
|
||||
type InvalidUTF8Complainer interface {
|
||||
error
|
||||
InvalidUTF8Complainer()
|
||||
}
|
||||
|
||||
type internalInvalidUTF8Complainer struct{}
|
||||
|
||||
func (complainer internalInvalidUTF8Complainer) Error() string {
|
||||
return "Invalid UTF-8"
|
||||
}
|
||||
|
||||
func (complainer internalInvalidUTF8Complainer) InvalidUTF8Complainer() {
|
||||
// Nothing here.
|
||||
}
|
Loading…
Reference in New Issue