Versions in this module Expand all Collapse all v1 v1.0.2 Jul 20, 2021 v1.0.1 Nov 28, 2018 Changes in this version + func Fprint(w io.Writer, str interface{}, colors ...Color) + func Fprintf(w io.Writer, format string, args Args, colors ...Color) + func Fprintln(w io.Writer, str interface{}, colors ...Color) + type Args []interface + type Color int + const BgBlack + const BgBlue + const BgCyan + const BgDarkGray + const BgGray + const BgGreen + const BgLightBlue + const BgLightCyan + const BgLightGreen + const BgLightMagenta + const BgLightRed + const BgLightYellow + const BgMagenta + const BgRed + const BgWhite + const BgYellow + const Black + const Blue + const Bold + const Clear + const Cyan + const DarkGray + const Dim + const Gray + const Green + const Hidden + const Inverted + const Italic + const LightBlue + const LightCyan + const LightGreen + const LightMagenta + const LightRed + const LightYellow + const Magenta + const Red + const Underline + const White + const Yellow + func Parse(color string) (Color, error) + type IColorFlow interface + Print func(str interface{}, colors ...Color) IColorFlow + PrintLn func(str interface{}, colors ...Color) IColorFlow + Printf func(format string, args Args, colors ...Color) IColorFlow + String func() string + func New(writer ...io.Writer) IColorFlow + type IFmt interface + Errorf func(format string, a ...interface{}) error + Fprint func(w io.Writer, a ...interface{}) (n int, err error) + Fprintf func(w io.Writer, format string, a ...interface{}) (n int, err error) + Fprintln func(w io.Writer, a ...interface{}) (n int, err error) + Print func(a ...interface{}) (n int, err error) + Printf func(format string, a ...interface{}) (n int, err error) + Println func(a ...interface{}) (n int, err error) + Sprint func(a ...interface{}) string + Sprintf func(format string, a ...interface{}) string + Sprintln func(a ...interface{}) string + func WithColors(colors ...Color) IFmt