improvements
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 3m6s
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 3m6s
This commit is contained in:
@@ -35,6 +35,8 @@ func NewStorage(cfg *viper.Viper) (Storage, error) {
|
||||
return NewMongoDBStorage(cfg)
|
||||
case "memory":
|
||||
return NewMemoryStorage(cfg)
|
||||
case "mock":
|
||||
return NewMockStorage(cfg), nil
|
||||
default:
|
||||
return nil, fmt.Errorf("storage type %v is not supported", storage_type)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user