Documentation
¶
Index ¶
- Variables
- type Console
- func (c *Console) Confirm(s string) bool
- func (c *Console) Error(message string)
- func (c *Console) ErrorLn(message string)
- func (c *Console) Errorf(message string, a ...any)
- func (c *Console) Fatal(err error)
- func (c *Console) Info(message string)
- func (c *Console) InfoLn(message string)
- func (c *Console) Infof(message string, a ...any)
- func (c *Console) NumberPlural(count int, one, many string) string
- func (c *Console) Success(message string)
- func (c *Console) SuccessLn(message string)
- func (c *Console) Successf(message string, a ...any)
- func (c *Console) Warn(message string)
- func (c *Console) WarnLn(message string)
- func (c *Console) Warnf(message string, a ...any)
- type Dummy
- func (c *Dummy) Confirm(s string) bool
- func (c *Dummy) Error(message string)
- func (c *Dummy) ErrorLn(message string)
- func (c *Dummy) Errorf(message string, a ...any)
- func (c *Dummy) Fatal(err error)
- func (c *Dummy) Info(message string)
- func (c *Dummy) InfoLn(message string)
- func (c *Dummy) Infof(message string, a ...any)
- func (c *Dummy) NumberPlural(count int, one, many string) string
- func (c *Dummy) Success(message string)
- func (c *Dummy) SuccessLn(message string)
- func (c *Dummy) Successf(message string, a ...any)
- func (c *Dummy) Warn(message string)
- func (c *Dummy) WarnLn(message string)
- func (c *Dummy) Warnf(message string, a ...any)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Black = color("\033[1;30m%s\033[0m") Red = color("\033[1;31m%s\033[0m") Green = color("\033[1;32m%s\033[0m") Yellow = color("\033[1;33m%s\033[0m") Purple = color("\033[1;34m%s\033[0m") Magenta = color("\033[1;35m%s\033[0m") Teal = color("\033[1;36m%s\033[0m") White = color("\033[1;37m%s\033[0m") )
View Source
var Std = New()
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.