Documentation
¶
Index ¶
- Variables
- func Color(colorString string) func(...interface{}) string
- func Confirm(s string) bool
- func Error(message string)
- func ErrorLn(message string)
- func Errorf(message string, a ...any)
- func Fatal(err error)
- func Info(message string)
- func InfoLn(message string)
- func Infof(message string, a ...any)
- func NumberPlural(c int, one, many string) string
- func Success(message string)
- func SuccessLn(message string)
- func Successf(message string, a ...any)
- func Warn(message string)
- func WarnLn(message string)
- func 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") )
Functions ¶
func NumberPlural ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.