Documentation ¶ Index ¶ type Line func (l *Line) AppendHistory(s string) func (l *Line) ClearHistory() func (l *Line) Prompt(prompt string) (result string, err error) func (l *Line) ReadHistory(r io.Reader) (n int, err error) func (l *Line) WriteHistory(w io.Writer) (n int, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Line ¶ type Line struct { // contains filtered or unexported fields } func (*Line) AppendHistory ¶ func (l *Line) AppendHistory(s string) func (*Line) ClearHistory ¶ func (l *Line) ClearHistory() func (*Line) Prompt ¶ func (l *Line) Prompt(prompt string) (result string, err error) func (*Line) ReadHistory ¶ func (l *Line) ReadHistory(r io.Reader) (n int, err error) func (*Line) WriteHistory ¶ func (l *Line) WriteHistory(w io.Writer) (n int, err error) Source Files ¶ View all Source files readline.go Click to show internal directories. Click to hide internal directories.