DEV Community

Discussion on: A clean way to pass configs in a Go application

Collapse
ilyakaznacheev profile image
Ilya Kaznacheev Author

I've designed a tiny library for config management: cleanenv.

It uses regular structures with tags, which means, that you can read flags or whatever into this structure and then override it with values from config and environment (or conversely).