Documentation ¶
Index ¶
- func Color(a ColorAttribute, v ...any)
- func ColorString(a ColorAttribute, v ...any) string
- func ColorStringF(a ColorAttribute, format string, v ...any) string
- func Colorf(a ColorAttribute, format string, v ...any)
- func Colorfln(a ColorAttribute, format string, v ...any)
- func Colorln(a ColorAttribute, v ...any)
- func Error(v ...any)
- func Errorf(format string, v ...any)
- func Errorfln(format string, v ...any)
- func Errorln(v ...any)
- func Fatal(v ...any)
- func Fatalf(format string, v ...any)
- func Fatalfln(format string, v ...any)
- func Fatalln(v ...any)
- func Info(v ...any)
- func Infof(format string, v ...any)
- func Infofln(format string, v ...any)
- func Infoln(v ...any)
- func Magenta(v ...any)
- func Magentaf(format string, v ...any)
- func Magentafln(format string, v ...any)
- func Magentaln(v ...any)
- func Print(v ...any)
- func Printf(format string, v ...any)
- func Printfln(format string, v ...any)
- func Println(v ...any)
- func Success(v ...any)
- func Successf(format string, v ...any)
- func Successfln(format string, v ...any)
- func Successln(v ...any)
- type ColorAttribute
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Color ¶
func Color(a ColorAttribute, v ...any)
func ColorString ¶ added in v2.4.1
func ColorString(a ColorAttribute, v ...any) string
func ColorStringF ¶ added in v2.4.1
func ColorStringF(a ColorAttribute, format string, v ...any) string
func Colorf ¶
func Colorf(a ColorAttribute, format string, v ...any)
func Colorfln ¶
func Colorfln(a ColorAttribute, format string, v ...any)
func Colorln ¶
func Colorln(a ColorAttribute, v ...any)
func Magentafln ¶
func Successfln ¶
Types ¶
type ColorAttribute ¶
const ( FgGreen ColorAttribute = ColorAttribute(color.FgGreen) FgRed ColorAttribute = ColorAttribute(color.FgRed) FgCyan ColorAttribute = ColorAttribute(color.FgCyan) FgMagenta ColorAttribute = ColorAttribute(color.FgMagenta) FgBlack ColorAttribute = ColorAttribute(color.FgBlack) FgBlue ColorAttribute = ColorAttribute(color.FgBlue) )
Source Files ¶
Click to show internal directories.
Click to hide internal directories.