This repository has been archived on 2022-07-30. You can view files and clone it, but cannot push or open issues/pull-requests.
mdb/kvstore/util.go

16 lines
173 B
Go
Raw Permalink Normal View History

2022-07-26 07:35:30 +00:00
package kvstore
import (
"path/filepath"
)
func must(err error) {
if err != nil {
panic(err)
}
}
2022-07-29 19:36:42 +00:00
func dbPath(dir string) string {
return filepath.Join(dir, "db")
2022-07-26 07:35:30 +00:00
}