Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm working on a small project for managing settings in Golang.

I found that boilerplate code needed for handling defaults, environment variables, and CLI variables could become unreasonably large and error prone. I just wanted to have a struct hold the settings needed for the project, with sane defaults, helpful messages, and handling of environment and CLI variables at the same time.

So I created Settingo.

Settingo is a unified solution to handle defaults, environment variables, and CLI arguments. Settings are a boring aspect of a project, and Settingo will allow a dev to focus on the project. https://github.com/Attumm/settingo



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: