badger version upgrade to v1.6.0 (#439)
* badger version upgrade to v1.6.0 - excuted go mod tidy command - fixed badger error when without go mod * go mod tidy and update packages
This commit is contained in:
@@ -30,9 +30,7 @@ type Storage struct {
|
||||
// Init client storage.
|
||||
func (s *Storage) Init() error {
|
||||
s.name = "badger"
|
||||
s.opts = badger.DefaultOptions
|
||||
s.opts.Dir = os.TempDir() + "badger"
|
||||
s.opts.ValueDir = os.TempDir() + "badger"
|
||||
s.opts = badger.DefaultOptions(os.TempDir() + "badger")
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user