Changes
- Expose the default printer as
pp.Default
- You can call it to use newer configuration API globally
Example:
pp.Default.SetExportedOnly(true)
Impact
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
- Original
ColoringEnabled
- Original
SetColorScheme
,ResetColorScheme
SetOutput
,ResetOutput
- Original:
SetDefaultOutput
,ResetDefaultOutput
- Original: