labstack/gommon

Common packages for Go

Go

597

151 commits

updated Jul 23, 2026

See the code

README

Gommon GoDoc Coverage Status

Common packages for Go.

Requires Go 1.23 or later.

  • Bytes — format/parse byte sizes (binary IEC and decimal SI).
  • Color — style terminal text.
  • Email — send email over SMTP; supports STARTTLS and implicit TLS (SMTPS, port 465).
  • Log — simple leveled logger with text and JSON output.
  • Random — cryptographically secure random strings over configurable charsets.

Install

go get github.com/labstack/gommon
bytes
color
email
logging
random

Project health

Overall

3.3/10

Maintained

1/10

Code review

4/10
OpenSSF Scorecard

Latest release

v0.5.0 · Apr 19, 2026

Releases this year

1

Significant stargazers

Christophe Colombier

209 followers · starred May 2026

Kensei Nakada

284 followers · starred Apr 2021

labstack/gommon

Common packages for Go

Go

597

151 commits

updated Jul 23, 2026

See the code

README

Gommon GoDoc Coverage Status

Common packages for Go.

Requires Go 1.23 or later.

  • Bytes — format/parse byte sizes (binary IEC and decimal SI).
  • Color — style terminal text.
  • Email — send email over SMTP; supports STARTTLS and implicit TLS (SMTPS, port 465).
  • Log — simple leveled logger with text and JSON output.
  • Random — cryptographically secure random strings over configurable charsets.

Install

go get github.com/labstack/gommon
bytes
color
email
logging
random

Project health

Overall

3.3/10

Maintained

1/10

Code review

4/10
OpenSSF Scorecard

Latest release

v0.5.0 · Apr 19, 2026

Releases this year

1

Significant stargazers

Christophe Colombier

209 followers · starred May 2026

Kensei Nakada

284 followers · starred Apr 2021