All Projects

gommons: Go Utility Packages

Common Go utility packages covering collection, file, JSON, logging, stream, string, and time helpers.

Go Utility Libraries File I/O Logging

Utility Architecture for Go Services

gommons collects small Go packages for common service and command-line needs, including collections, CSV helpers, file operations, JSON formatting, logging, stream helpers, string utilities, and time helpers.

I kept it as a package collection rather than a framework, so the utilities can be reused in Go services without committing the application to a larger runtime.

Engineering Focus

  • File and directory helpers: Directory traversal, glob matching, opening, and scanning utilities.
  • Structured output: JSON pretty-printing and CSV logging helpers.
  • Small abstractions: Collection, stream, string, math, and time helpers for repeated Go service code.