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
Categories
FrameworksLicense
MIT LicenseFollow pp
Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud
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.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of pp!