Colored pretty printer for Go language. Just call pp.Print(). fmt package-like functions are provided. You can also create own instances that do not interfere with the default printer. If you require, you may change the colors (all or some) for syntax highlighting. You may combine any color with a background color and optionally with the bold parameter.

Features

  • Color API and implementation
  • The core implementation is delegated to printer.go
  • The actual pretty print implementation
  • Implementation for sorting map keys
  • Errorf formats given arguments and returns it as error type
  • Fatalf prints a given format and finishes execution with exit status 1

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow pp

pp Web Site

Other Useful Business Software
$300 in Free Credit Towards Top Cloud Services Icon
$300 in Free Credit Towards Top Cloud Services

Build VMs, containers, AI, databases, storage—all in one place.

Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
Get Started
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of pp!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go Frameworks

Registered

2023-01-30