Show HN: Persist – A simple Go configuration library
https://github.com/clmncol/persist
I just released persist, a small Go library for saving one typed value to disk, that's it. It can be used for a single string up to an entire struct. It uses JSON encoding and writes to user's config dir.It's initialized generically with the type + an optional default value, then has two methods - Pull (which loads the saved value or returns a default on first run) and Push (which...