github.com/oweisse/u-root@v0.0.0-20181109060735-d005ad25fef1/cmds/elvish/eval/editor.go (about)

     1  package eval
     2  
     3  // Editor is the interface that the line editor has to satisfy. It is needed so
     4  // that this package does not depend on the edit package.
     5  type Editor interface {
     6  	Notify(string, ...interface{})
     7  }