Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NL ¶
type NL string // NL represents a newline character or sequence of characters.
const DefaultNewLine NL = "\n" // DefaultNewLine is the default newline character (line feed).
func Default ¶
Default detects the newline sequence in the source string and returns it along with the source string where the detected newline sequences are replaced with the DefaultNewLine.
Click to show internal directories.
Click to hide internal directories.