Versions in this module Expand all Collapse all v3 v3.2.0 Apr 23, 2022 v3.1.1 Apr 23, 2022 Changes in this version + const BackgroundBlack + const BackgroundBlue + const BackgroundCyan + const BackgroundGreen + const BackgroundMagenta + const BackgroundRed + const BackgroundWhite + const BackgroundYellow + const Black + const Blue + const Bold + const Cyan + const Green + const Magenta + const NoColor + const Red + const White + const Yellow + var BufferFoldThreshold = 1024 + var ColoringEnabled = true + var PrintMapTypes = true + var WithLineInfo bool + func Errorf(format string, a ...interface{}) error + func Fatal(a ...interface{}) + func Fatalf(format string, a ...interface{}) + func Fatalln(a ...interface{}) + func Fprint(w io.Writer, a ...interface{}) (n int, err error) + func Fprintf(w io.Writer, format string, a ...interface{}) (n int, err error) + func Fprintln(w io.Writer, a ...interface{}) (n int, err error) + func GetDefaultOutput() io.Writer + func Print(a ...interface{}) (n int, err error) + func Printf(format string, a ...interface{}) (n int, err error) + func Println(a ...interface{}) (n int, err error) + func ResetColorScheme() + func ResetDefaultOutput() + func SetColorScheme(scheme ColorScheme) + func SetDefaultMaxDepth(v int) + func SetDefaultOutput(o io.Writer) + func Sprint(a ...interface{}) string + func Sprintf(format string, a ...interface{}) string + func Sprintln(a ...interface{}) string + type ColorScheme struct + Bool uint16 + EscapedChar uint16 + FieldName uint16 + Float uint16 + Integer uint16 + Nil uint16 + ObjectLength uint16 + PointerAdress uint16 + String uint16 + StringQuotation uint16 + StructName uint16 + Time uint16 + type PrettyPrinter struct + WithLineInfo bool + func New() *PrettyPrinter + func (pp *PrettyPrinter) Errorf(format string, a ...interface{}) error + func (pp *PrettyPrinter) Fatal(a ...interface{}) + func (pp *PrettyPrinter) Fatalf(format string, a ...interface{}) + func (pp *PrettyPrinter) Fatalln(a ...interface{}) + func (pp *PrettyPrinter) Fprint(w io.Writer, a ...interface{}) (n int, err error) + func (pp *PrettyPrinter) Fprintf(w io.Writer, format string, a ...interface{}) (n int, err error) + func (pp *PrettyPrinter) Fprintln(w io.Writer, a ...interface{}) (n int, err error) + func (pp *PrettyPrinter) GetOutput() io.Writer + func (pp *PrettyPrinter) Print(a ...interface{}) (n int, err error) + func (pp *PrettyPrinter) Printf(format string, a ...interface{}) (n int, err error) + func (pp *PrettyPrinter) Println(a ...interface{}) (n int, err error) + func (pp *PrettyPrinter) ResetColorScheme() + func (pp *PrettyPrinter) ResetOutput() + func (pp *PrettyPrinter) SetColorScheme(scheme ColorScheme) + func (pp *PrettyPrinter) SetColoringEnabled(enabled bool) + func (pp *PrettyPrinter) SetDecimalUint(enabled bool) + func (pp *PrettyPrinter) SetExportedOnly(enabled bool) + func (pp *PrettyPrinter) SetOutput(o io.Writer) + func (pp *PrettyPrinter) SetThousandsSeparator(enabled bool) + func (pp *PrettyPrinter) Sprint(a ...interface{}) string + func (pp *PrettyPrinter) Sprintf(format string, a ...interface{}) string + func (pp *PrettyPrinter) Sprintln(a ...interface{}) string Other modules containing this package github.com/M-Ahall/pp