split db and bolt to store interface

This commit is contained in:
ston1th 2018-09-11 14:50:53 +02:00
commit 7e77fd7d27
14 changed files with 419 additions and 545 deletions

View file

@ -2,7 +2,7 @@
package db
import (
/*import (
"encoding/json"
"fmt"
"os"
@ -90,4 +90,4 @@ func Restore(path string, v bool) (err error) {
verboseLog("restore:", "users", v)
err = bs.RestoreUsers(dump.Users)
return
}
}*/