Swap main database to bolt; refactor sp list sorting

This commit is contained in:
mitchell 2019-07-22 20:24:00 -04:00
parent a67be14fcb
commit ed66895fcb
12 changed files with 158 additions and 30 deletions

View file

@ -57,7 +57,7 @@ func main() {
},
})
db, err := repositories.NewRedisConn("tcp", "redis:6379", 2)
db, err := repositories.OpenBoltDB("/home/selfpass/data/bolt.db", 0600, nil)
check(err)
var svc types.Service