Documentation ¶
Index ¶
- func ConvertLinebreakToUnix(input string) (result string, n int, err error)
- func ConvertLinebreakToUnixReader(r io.Reader) io.Reader
- func ConvertLinebreakToUnixWriter(r io.Writer) io.Writer
- func ConvertLinebreakToWindows(input string) (result string, n int, err error)
- func ConvertLinebreakToWindowsReader(r io.Reader) io.Reader
- func ConvertLinebreakToWindowsWriter(r io.Writer) io.Writer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertLinebreakToUnix ¶
ConvertLinebreakToUnix converts
- Windows: \r\n (CRLF)
- Mac: \r (CR)
- Unix/Linux: \n (LF)
into
- Unix/Linux: \n (LF)
linebreaks
func ConvertLinebreakToUnixReader ¶
ConvertLinebreakToUnixReader returns an io.Reader that converts
- Windows: \r\n (CRLF)
- Mac: \r (CR)
- Unix/Linux: \n (LF)
into
- Unix/Linux: \n (LF)
linebreaks
func ConvertLinebreakToUnixWriter ¶
ConvertLinebreakToUnixWriter returns an io.Writer that converts
- Windows: \r\n (CRLF)
- Mac: \r (CR)
- Unix/Linux: \n (LF)
into
- Unix/Linux: \n (LF)
linebreaks
func ConvertLinebreakToWindows ¶
ConvertLinebreakToWindows converts
- Windows: \r\n (CRLF)
- Mac: \r (CR)
- Unix/Linux: \n (LF)
into
- Windows: \r\n (CRLF)
linebreaks
func ConvertLinebreakToWindowsReader ¶
ConvertLinebreakToWindowsReader returns an io.Reader that converts
- Windows: \r\n (CRLF)
- Mac: \r (CR)
- Unix/Linux: \n (LF)
into
- Windows: \r\n (CRLF)
linebreaks
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.