←back to thread

261 points david927 | 1 comments | | HN request time: 0.205s | source

What are you working on? Any new ideas that you're thinking about?
1. Attummm ◴[] No.43179620[source]
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