Go SStore package

January 27th, 2014

TreeTimer logo
For our new Treetimer time management application, being developed mainly in Go language, we had the need to locally store simple definition files, with configurations used on the server application startup.

For that we built a very simple package called SStore, meaning “Simple Store”.
This way we can have code like this:

Configs get stored in a SStore struct type:

Then to use a config value for some key, we have:

Howto in the README file at SStore github repository.

(blogged from Vim)