From 82496bae86cd36a474e5a93be7b70b1f160b74b3 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Sat, 11 Apr 2020 11:23:41 +0100 Subject: [PATCH] prefix store dir --- file.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/file.go b/file.go index cddcaf8..5f0fc95 100644 --- a/file.go +++ b/file.go @@ -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"