A collection of common utility packages for Go, including logging, terminal styling, and byte formatting.
Gommon is a collection of common utility packages for the Go programming language. It provides essential tools for tasks like logging, terminal text styling, and byte size formatting, helping developers handle everyday needs without adding heavy dependencies.
Go developers building command-line tools, servers, or applications who need lightweight, focused utilities for logging, output formatting, and data manipulation.
Developers choose Gommon for its simplicity, minimalism, and single-responsibility design, offering reliable, standalone packages that integrate easily without bloat.
Common packages for Go
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Packages follow a single-responsibility approach, being lightweight and avoiding unnecessary dependencies, as highlighted in the project's philosophy.
Independent packages like Bytes for formatting and Color for terminal styling allow developers to use only what they need without bloating the codebase.
The Log package provides configurable logging with different levels and output formats, making it straightforward for basic application logging needs.
Color package enables easy styling of terminal text for better CLI interfaces, enhancing readability and user experience in command-line tools.
Utilities are basic; for example, the logging package lacks advanced features like structured logging or integration with external services, which are common in production environments.
The README is brief with no usage examples, relying solely on GoDoc, which may hinder quick adoption and troubleshooting for developers.
With only three packages, it doesn't cover other common utility needs such as string manipulation or HTTP helpers, requiring additional libraries for broader functionality.