Skip to content

Releases: tucnak/store

Store v1.0 released

07 Jul 13:08
Compare
Choose a tag to compare

I didn't like existing configuration management solutions like globalconf, tachyon or viper. First two just don't feel right and viper, imo, a little overcomplicated—definitely offering too much for small things. That's why I made Store. It supports either JSON, TOML or YAML out-of-the-box and lets you register practically any other configuration format. It persists all of your configurations in either $XDG_CONFIG_HOME or $HOME on Linux and in %APPDATA% on Windows.

After the nine years of development, this is totally production-ready and stable and mature and everything. API is most certainly not gonna change, ever. This release features:

  • Init() for setting up the configuration path.
  • Load() and Save() to load and.. unexpectedly, save the data.
  • Register() for mapping custom file extensions to custom parsers.
  • LoadWith() and SaveWith() for some exotic cases.

Simple as it gets. Dead. Dead simple. There we go, that's it. Special thanks to me for preparing this wonderful release.