Files
barandaBot/vendor/gopkg.in/dixonwille/wlog.v2/interface.go
2018-06-19 00:26:51 +02:00

15 lines
322 B
Go

package wlog
// UI simply writes to an io.Writer with a new line appended to each call.
// It also has the ability to ask a question and return a response.
type UI interface {
Log(string)
Output(string)
Success(string)
Info(string)
Error(string)
Warn(string)
Running(string)
Ask(string, string) (string, error)
}