Documentation ¶
Index ¶
- type Returner
- func (r *Returner) Display(a ...interface{})
- func (r *Returner) Displayf(c string, a ...interface{})
- func (r *Returner) Displayln(a ...interface{})
- func (r *Returner) Edit(og []byte) ([]byte, error)
- func (r *Returner) Location() *time.Location
- func (r *Returner) Read() (string, error)
- func (r *Returner) ReadPassword() (string, error)
- func (r *Returner) SetEdits(i, o []byte)
- func (r *Returner) SetLoc(l *time.Location)
- func (r *Returner) SetLocation(l *time.Location)
- func (r *Returner) SetReads(s, p string)
- func (r *Returner) Wait() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Returner ¶
type Returner struct {
// contains filtered or unexported fields
}
Returner implements interactor and allows a test to determine the inputs and outputs of an edit.
func NewReturner ¶
func NewReturner() *Returner
NewReturner returns an instance of Returner with input and output.
func (*Returner) Display ¶
func (r *Returner) Display(a ...interface{})
Display adds a string to the printOut buffer.
func (*Returner) Displayln ¶
func (r *Returner) Displayln(a ...interface{})
Displayln adds a string plus newline to the printOut buffer.
func (*Returner) ReadPassword ¶
ReadPassword returns the stored readPwd.
func (*Returner) SetLocation ¶
SetLocation sets the location.
Click to show internal directories.
Click to hide internal directories.