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 formatting, helping developers handle repetitive functionality efficiently.
Go developers building command-line applications, servers, or any project needing lightweight utilities for logging, terminal output, or data formatting.
Developers choose Gommon for its simplicity, focused design, and lack of bloat—it offers just the utilities needed without pulling in large dependencies, making it ideal for lean Go projects.
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.
Each package targets a specific common task, such as bytes formatting or terminal coloring, adhering to the philosophy of simplicity without unnecessary bloat.
Gommon has no external dependencies, ensuring small binary sizes and fast builds, which is ideal for lean Go projects.
The packages are straightforward to import and use, with clear APIs documented via GoDoc, as shown by the README's documentation badge.
The Log package is explicitly 'simple,' missing advanced capabilities like configurable log levels, file output, or structured logging found in more robust libraries.
With only three utilities, developers may need to supplement Gommon with other libraries for broader functionality, increasing integration complexity.