Documentation ¶
Index ¶
- Variables
- func Debug(msg string, args ...interface{})
- func Die(msg string, args ...interface{})
- func Err(msg string, args ...interface{})
- func ExitCode(e int) int
- func Info(msg string, args ...interface{})
- func Msg(msg string, args ...interface{})
- func Print(msg string)
- func PromptUntil(opts []string) (string, error)
- func PromptUntilYorN() bool
- func Puts(msg string, args ...interface{})
- func Warn(msg string, args ...interface{})
- type Messenger
- func (m *Messenger) Debug(msg string, args ...interface{})
- func (m *Messenger) Die(msg string, args ...interface{})
- func (m *Messenger) Err(msg string, args ...interface{})
- func (m *Messenger) ExitCode(e int) int
- func (m *Messenger) HasErrored() bool
- func (m *Messenger) Info(msg string, args ...interface{})
- func (m *Messenger) Msg(msg string, args ...interface{})
- func (m *Messenger) Print(msg string)
- func (m *Messenger) PromptUntil(opts []string) (string, error)
- func (m *Messenger) PromptUntilYorN() bool
- func (m *Messenger) Puts(msg string, args ...interface{})
- func (m *Messenger) Warn(msg string, args ...interface{})
Constants ¶
This section is empty.
Variables ¶
View Source
var DebugEnable bool
View Source
var Default = NewMessenger()
Functions ¶
func PromptUntil ¶
func PromptUntilYorN ¶
func PromptUntilYorN() bool
Types ¶
Click to show internal directories.
Click to hide internal directories.