mirror of
https://github.com/mitchell/selfpass.git
synced 2025-12-14 13:27:21 +00:00
Swap main database to bolt; refactor sp list sorting
This commit is contained in:
parent
a67be14fcb
commit
ed66895fcb
12 changed files with 158 additions and 30 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue