README ¶ Color Supported colors: black, white, red, green, blue, yellow, magenta, cyan color.Blue.Print("Blue") color.Blue.Printf("%s", "Blue") color.Blue.Println("Blue") blue := color.Blue.String("Blue") Expand ▾ Collapse ▴ Documentation ¶ Index ¶ type Color func (c Color) Print(args ...any) func (c Color) Printf(format string, args ...any) func (c Color) Println(args ...any) func (c Color) String(args ...any) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Color ¶ type Color int Color type const ( Black Color = iota + 30 Red Green Yellow Blue Magenta Cyan White ) Color codes func (Color) Print ¶ func (c Color) Print(args ...any) func (Color) Printf ¶ func (c Color) Printf(format string, args ...any) func (Color) Println ¶ func (c Color) Println(args ...any) func (Color) String ¶ func (c Color) String(args ...any) string Source Files ¶ View all Source files color.go Click to show internal directories. Click to hide internal directories.