kvstore is a library that allows programs to have some sort of database-like persistence with very little setup. It provides an interface, KeyValueStore, which represents some memory or file-backed storage. Only Get, Set, and Delete methods are required.
kvstore also provides implementations of KeyValueStore:
SqliteStore: Created withNewSqliteDB(filename string). A key-value store backed by a sqlite3 database. Best for small projects where an extra database instance isn't worth the effort.MemoryStore: Created withNewMemoryStore(). An in-memory key-value store without persistence. Useful for testing.