initial commits

master
Charles Iliya Krempeaux 2023-11-28 08:10:46 -08:00
parent 55b7fa9ffa
commit e2bed68430
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ import (
// next-line (NEL) (U+0085) // next-line (NEL) (U+0085)
// line-separator (LS) (U+2028) // line-separator (LS) (U+2028)
// //
// If successful, ReadEOL return the end-of-line sequence and the number-of-bytes read. // If successful, ReadEOL return the end-of-line sequence it found and the number-of-bytes read (to read in end-of-line sequence it found).
func ReadEOL(runescanner io.RuneScanner) (endofline string, size int, err error) { func ReadEOL(runescanner io.RuneScanner) (endofline string, size int, err error) {
if nil == runescanner { if nil == runescanner {
return "", 0, errNilRuneScanner return "", 0, errNilRuneScanner