Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LineReader ¶
type LineReader struct {
// contains filtered or unexported fields
}
Fake Reader that can 'unread' a complete line
func OpenReader ¶
func OpenReader(filename string) (*LineReader, error)
func (*LineReader) Close ¶
func (r *LineReader) Close()
func (*LineReader) ReadLine ¶
func (r *LineReader) ReadLine() (line []byte, isPrefix bool, err error)
func (*LineReader) UnreadLine ¶
func (r *LineReader) UnreadLine(str string)
Click to show internal directories.
Click to hide internal directories.