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

package kvstore
import (
"path/filepath"
)
func must(err error) {
if err != nil {
panic(err)
}
}
func dbPath(dir string) string {
return filepath.Join(dir, "db")
}