This repository has been archived on 2022-07-30. You can view files and clone it, but cannot push or open issues/pull-requests.
|
package kvstore
|
|
|
|
import (
|
|
"path/filepath"
|
|
)
|
|
|
|
func must(err error) {
|
|
if err != nil {
|
|
panic(err)
|
|
}
|
|
}
|
|
|
|
func dbPath(dir string) string {
|
|
return filepath.Join(dir, "db")
|
|
}
|