scan

package
v0.0.0-...-3056169 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ScanLinesKeep

func ScanLinesKeep(data []byte, atEOF bool) (advance int, token []byte, err error)

ScanLinesKeep scans line by line, retaining the endings:

\r\n
\n

The singular \r does not split the lines.

The \n\r results in a line ending with \n and new line that begins with \r.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL