fg-lib is a collection of robust, lightweight utility libraries for Go applications.
A structured logging wrapper based on log/slog and zap with support for file rotation, dynamic levels, and context injection.
A struct-based configuration loader supporting environment variables, files (YAML/JSON), defaults, and auto-refresh.
A simple dependency injection container wrapper based on uber-go/dig for managing application components.
A library for managing application lifecycle, providing graceful shutdown handling with signals and timeouts.
A collection of terminal utilities including JSON diff visualization, table rendering, and interactive text editing.
go get github.com/fuguiw/fg-libSee LICENSE file.