Documentation
¶
Index ¶
- Constants
- func Wrap(msg string, color string) string
- type Console
- func (c *Console) Print(ask string, args ...interface{}) (int, error)
- func (c *Console) Prompt(ask string, args ...interface{}) bool
- func (c *Console) PromptInt(ask string, max int, args ...interface{}) int
- func (c *Console) PromptY(ask string, args ...interface{}) bool
- func (c *Console) Scanln(ask string, args ...interface{}) (string, error)
- func (c *Console) Select(ask string, args ...interface{}) int
Constants ¶
View Source
const ( //Header = "\033[95m" //OkBlue = "\033[94m" OkGreen = "\033[92m" //Warning = "\033[93m" //Fail = "\033[91m" EndColor = "\033[0m" Bold = "\033[1m" Underline = "\033[4m" )
Colors
Variables ¶
This section is empty.