Documentation ¶
Overview ¶
Package dos2unix provides functions to convert between dos and unix line termination styles
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DOS2Unix ¶
DOS2Unix wraps a byte reader with a reader that replaces all instances of \r\n with \n
Types ¶
type WriteFlusher ¶
WriteFlusher combines the io.Writer interface with a buffer Flush method
func DOS2UnixWriter ¶
func DOS2UnixWriter(w io.Writer) WriteFlusher
DOS2UnixWriter wraps a writer to convert \r\n into \n. It is advisable to call the Flush method upon completion as a final \r may be buffered
Click to show internal directories.
Click to hide internal directories.