Colored pretty printer for Go language
pp.Default
Example:
pp.Default.SetExportedOnly(true)
The following things will newly be configurable globally:
SetDecimalUnit
SetExportedOnly
SetOutput
SetThousandsSeparator
The following things were already available as pp.*
, but now you're encouraged to use pp.Default.*
instead:
SetColoringEnabled
ColoringEnabled
SetColorScheme
, ResetColorScheme
SetOutput
, ResetOutput
SetDefaultOutput
, ResetDefaultOutput