initial commits
parent
908859b9dc
commit
18aff7a790
|
@ -20,7 +20,7 @@ import (
|
||||||
//
|
//
|
||||||
// Example usage:
|
// Example usage:
|
||||||
///
|
///
|
||||||
// eolSequence, size: err := eol.ReadEOL(runescanner)
|
// eolSequence, size, err := eol.ReadEOL(runescanner)
|
||||||
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
|
||||||
|
|
Loading…
Reference in New Issue