Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LineTerminatorType ¶
type LineTerminatorType string
const ( LF LineTerminatorType = `\n` CR LineTerminatorType = `\r` CRLF LineTerminatorType = `\r\n` LFCR LineTerminatorType = `\n\r` RS LineTerminatorType = `\036` ND LineTerminatorType = `unable to detect line terminator` )
func DetectLineTerminator ¶
func DetectLineTerminator(filename string) (LineTerminatorType, error)
Click to show internal directories.
Click to hide internal directories.