Show HN: Container-focused, generics based Go configuration

github.com

1 points by telpis 8 hours ago

Hey HN!

I built a Go library for convenient parsing of env + flag pairs. At the time, I needed a dependency-free solution — so bringing in Viper or other "heavy lifters" wasn’t an option.

Along the way, I came across a few lesser-known libraries that might’ve worked, but by then the project was nearly done. Plus, this one seems to be the only config lib that’s built on generics and reflection-free.

If that sounds interesting, I’d love for you to give it a try and share your feedback: https://github.com/atelpis/enflag

Thanks!