struct0x is a collection of small, focused Go libraries — built to be fast, dependency-free, and production-ready.
Each package solves a concrete problem without unnecessary bloat.
A high-performance, type-safe dispatcher for Go.
Designed for minimal allocations and predictable performance in hot paths.
A small, dependency-free library for loading configuration from environment variables directly into your structs.
Supports tags like env, envDefault, envRequired, and envPrefix for nested configs.
A library for managing application lifecycle and graceful shutdown.
Provides a clean way to orchestrate termination signals, resource cleanup, and coordinated exit.
- Small – focused packages, each doing one thing well.
- Safe – type-safe APIs and predictable behavior.
- Fast – minimal allocations, no hidden dependencies.
- Practical – code that solves real problems in day-to-day Go projects.
- Use them, star them ⭐
- Report issues and share feedback
- Contribute improvements and new ideas
struct0x — structs, bits, and experiments in Go.