package
1.3.9
Repository: https://github.com/qkbyte/go-zero.git
Documentation: pkg.go.dev

# Functions

CountLines returns the number of lines in file.
DupReadCloser returns two io.ReadCloser that read from the first will be written to the second.
KeepSpace customizes the reading functions to keep leading and tailing spaces.
NewBufferPool returns a BufferPool.
NewTextLineScanner returns a TextLineScanner with given reader.
NopCloser returns a io.WriteCloser that does nothing on calling Close.
OmitWithPrefix customizes the reading functions to ignore the lines with given leading prefix.
ReadBytes reads exactly the bytes with the length of len(buf).
ReadText reads content from the given file with leading and tailing spaces trimmed.
ReadTextLines reads the text lines from given file.
RedirectInOut redirects stdin to r, stdout to w, and callers need to call restore afterwards.
WithoutBlank customizes the reading functions to ignore blank lines.

# Structs

A BufferPool is a pool to buffer bytes.Buffer objects.
A TextLineScanner is a scanner that can scan lines from given reader.

# Type aliases

No description provided by the author