Versions in this module Expand all Collapse all v0 v0.2.0 Oct 15, 2021 v0.1.0 Oct 14, 2021 Changes in this version + func ColorStatus(_ int, status string) (color.Color, bool) + func InitColorTheme() + type ColorPrinter struct + Type string + func (cp *ColorPrinter) Print(buf string, w io.Writer) + type CustomPrinter struct + ColorPicker func(line string) color.Color + func (cp *CustomPrinter) Print(buf string, w io.Writer) + type JsonPrinter struct + func NewJsonPrinter(jsonObj map[string]interface{}) *JsonPrinter + func (jp *JsonPrinter) Print(buf string, w io.Writer) + type PlainPrinter struct + func (pp *PlainPrinter) Print(buf string, w io.Writer) + type Printer interface + Print func(buf string, w io.Writer) + type SingleColorPrinter struct + Color color.Color + func (scp *SingleColorPrinter) Print(buf string, w io.Writer) + type TablePrinter struct + ColorPicker func(index int, column string) (color.Color, bool) + func NewTablePrinter(colorPicker func(int, string) (color.Color, bool)) *TablePrinter + func (tp *TablePrinter) Print(buf string, w io.Writer) + type YamlPrinter struct + func NewYamlPrinter() *YamlPrinter + func (yp *YamlPrinter) Print(buf string, w io.Writer)