diff --git a/storage/storage.go b/storage/storage.go index c092b983..d32a8c6f 100644 --- a/storage/storage.go +++ b/storage/storage.go @@ -1,6 +1,8 @@ package storage import ( + "os" + "github.com/khlieng/dispatch/pkg/session" ) @@ -8,6 +10,7 @@ var Path directory func Initialize(dir string) { Path = directory(dir) + os.MkdirAll(Path.Root(), 0700) } type Store interface {