Skip to content

3.2.0

Latest
Compare
Choose a tag to compare
@k0kubun k0kubun released this 16 Oct 07:35
· 4 commits to master since this release
f2ac4d3

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
  • SetColorScheme, ResetColorScheme
  • SetOutput, ResetOutput
    • Original: SetDefaultOutput, ResetDefaultOutput