Versions in this module Expand all Collapse all v0 v0.13.4 Dec 14, 2023 Changes in this version + const Blue + const Cyan + const Green + const Pink + const Red + const Yellow + var Default = NewMessenger() + func Color(code, msg string) string + func Debug(msg string, args ...interface{}) + func Die(msg string, args ...interface{}) + func Err(msg string, args ...interface{}) + func ExitCode(e int) int + func HasErrored() bool + 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 struct + IsDebugging bool + NoColor bool + PanicOnDie bool + Quiet bool + Stderr io.Writer + Stdin io.Reader + Stdout io.Writer + func NewMessenger() *Messenger + func (m *Messenger) Color(code, msg string) string + 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{})