Versions in this module Expand all Collapse all v0 v0.1.0 Jul 28, 2024 Changes in this version + const BGBlack + const BGBlue + const BGBrightBlue + const BGBrightCyan + const BGBrightGreen + const BGBrightMagenta + const BGBrightRed + const BGBrightWhite + const BGBrightYellow + const BGCyan + const BGDefault + const BGGray + const BGGreen + const BGMagenta + const BGRed + const BGWhite + const BGYellow + const Bold + const ControlCode + const ControlSequenceIntroducer + const DefaultFont + const FGBlack + const FGBlue + const FGBrightBlue + const FGBrightCyan + const FGBrightGreen + const FGBrightMagenta + const FGBrightRed + const FGBrightWhite + const FGBrightYellow + const FGCyan + const FGDefault + const FGGray + const FGGreen + const FGMagenta + const FGRed + const FGWhite + const FGYellow + const Faint + const Italic + const Reset + const SGRSuffix + const Separator + const Underline + var None = Format() + func ColorWriter(w io.Writer) io.Writer + func DisableColors() + func Eprint(args ...any) (int, error) + func Eprintf(format string, args ...any) (int, error) + func Eprintln(args ...any) (int, error) + func Fprint(w io.Writer, args ...any) (int, error) + func Fprintf(w io.Writer, format string, args ...any) (int, error) + func Fprintln(w io.Writer, args ...any) (int, error) + func Fsprintf(w io.Writer, format string, args ...any) string + func IsColorable(w io.Writer) bool + func NoColorWriter(w io.Writer) io.Writer + func Print(args ...any) (int, error) + func Printf(format string, args ...any) (int, error) + func Println(args ...any) (int, error) + func Sprintf(format string, args ...any) string + func StripFormat(format string) string + type Attribute interface + type Display interface + func Format(displays ...Display) Display + type Formatter interface + Format func(format string, args ...any) string