Versions in this module Expand all Collapse all v1 v1.0.0 Aug 15, 2018 Changes in this version + var Debug = func(s string, v ...interface{}) + var EOL = errors.New("EOL") + var EmptyEnv = errors.New("Empty environment variable") + type Completer interface + Complete func(s string) ([]string, error) + func NewEnvCompleter(s string) (Completer, error) + func NewFileCompleter(s string) Completer + func NewMultiCompleter(c Completer, cc ...Completer) Completer + func NewPathCompleter() (Completer, error) + func NewStringCompleter(s []string) Completer + type FileCompleter struct + Root string + func (f *FileCompleter) Complete(s string) ([]string, error) + type InOut interface + Pop func() string + PopAll func() []string + Push func(...string) + ReadAll func() ([]byte, error) + Write func([]byte) (int, error) + func NewLine() InOut + type Line struct + L []string + func (l *Line) Pop() (s string) + func (l *Line) PopAll() (s []string) + func (l *Line) Push(s ...string) + func (l *Line) ReadAll() ([]byte, error) + func (l *Line) Write(b []byte) (int, error) + type LineReader struct + C Completer + Line *bytes.Buffer + R io.Reader + W io.Writer + func NewLineReader(c Completer, r io.Reader, w io.Writer) *LineReader + func (l *LineReader) ReadOne() ([]string, error) + type MultiCompleter struct + Completers []Completer + func (m *MultiCompleter) Complete(s string) ([]string, error) + type StringCompleter struct + Names []string + func (f *StringCompleter) Complete(s string) ([]string, error) Incompatible versions in this module v4.0.0+incompatible Jan 27, 2019 v3.0.0+incompatible Nov 21, 2018 v2.0.0+incompatible Oct 1, 2018