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
Build Securely on Azure with Proven Frameworks
Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of pp!