14 lines
239 B
Go
14 lines
239 B
Go
|
package eol
|
||
|
|
||
|
import (
|
||
|
"sourcecode.social/reiver/go-erorr"
|
||
|
)
|
||
|
|
||
|
const (
|
||
|
errNilRuneScanner = erorr.Error("eol: nil rune-scanner")
|
||
|
)
|
||
|
|
||
|
func errNotEOL(r rune) error {
|
||
|
return erorr.Errorf("eol: %q (%U) is not an end-of-line character", r, r)
|
||
|
}
|