package
Version:
v1.1.7
Opens a new window with list of versions in this module.
Published: Mar 19, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
The crlf package helps in dealing with files that have DOS-style CR/LF line
endings.
NewReader returns an io.Reader that converts CR or CRLF line endings to LF.
NewWriter returns an io.Writer that converts LF line endings to CRLF.
type Normalize struct {
}
Normalize takes CRLF, CR, or LF line endings in src, and converts them
to LF in dst.
ToCRLF takes LF line endings in src, and converts them to CRLF in dst.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.