Skip to content

Releases: k0kubun/pp

3.4.1

27 Nov 12:14
Compare
Choose a tag to compare

3.4.0

27 Nov 07:51
Compare
Choose a tag to compare

Implement SetOmitEmpty() #89 (apstndb)

3.3.0

27 Nov 07:51
Compare
Choose a tag to compare

This released bumped golang.org/x/text from v0.3.7 to v0.8.0.

3.2.0

16 Oct 07:35
f2ac4d3
Compare
Choose a tag to compare

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