go-eol/readlf.go

14 lines
316 B
Go
Raw Normal View History

2023-11-27 19:32:08 +00:00
package eol
import (
"io"
2023-11-28 16:08:06 +00:00
"sourcecode.social/reiver/go-opt"
2023-11-27 19:32:08 +00:00
)
func ReadLF(runescanner io.RuneScanner) (size int, err error) {
2023-11-28 16:08:06 +00:00
const characterNumber uint64 = 1
var circumstance internalCircumstance = specifyCircumstance(opt.Something(LF), characterNumber)
return readthisrune(circumstance, runescanner, lf)
2023-11-27 19:32:08 +00:00
}