Documentation ¶
Overview ¶
Package linecache provides a writer that stores n lines of text at once, overwriting old content as it reaches its capacity. Its contents can be read from with a String() method.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LineCache ¶
type LineCache struct {
// contains filtered or unexported fields
}
LineCache provides an io.Writer that stores a fixed number of lines of text.
func NewLineCache ¶
NewLineCache returns a new line cache of capacity (n) lines.
Click to show internal directories.
Click to hide internal directories.