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
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
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