Refactor code and enable WAL for 4x performance improvement

This commit is contained in:
TwinProduction
2021-07-12 22:53:14 -04:00
committed by Chris
parent ffc3e644c5
commit 670272f411
2 changed files with 182 additions and 121 deletions

View File

@ -33,6 +33,8 @@ type Store interface {
Save() error
}
// TODO: add method to check state of store (by keeping track of silent errors)
var (
// Validate interface implementation on compile
_ Store = (*memory.Store)(nil)