Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrBinaryContent = errors.New("Cannot read binary content")
ErrBinaryContent is returned when attempting to read lines out of a stream that does not look like text
Functions ¶
Types ¶
type LineReader ¶
type LineReader struct {
// contains filtered or unexported fields
}
func NewLineReader ¶
func NewLineReader(reader io.Reader) *LineReader
func (*LineReader) GetLines ¶
func (lr *LineReader) GetLines() ([]string, error)
Click to show internal directories.
Click to hide internal directories.