prefix store dir

This commit is contained in:
Asim Aslam 2020-04-11 11:23:41 +01:00 committed by Vasiliy Tolstov
parent c691d2c5a1
commit 82496bae86

View File

@ -21,7 +21,7 @@ var (
// DefaultTable when none is specified
DefaultTable = "micro"
// DefaultDir is the default directory for bbolt files
DefaultDir = os.TempDir()
DefaultDir = filepath.Join(os.TempDir(), "micro", "store")
// bucket used for data storage
dataBucket = "data"