improvements
Some checks failed
Build and Push Docker Image / build_and_push (push) Failing after 3m6s

This commit is contained in:
Arnaud Delcasse
2025-10-08 09:01:37 +02:00
parent fc5b33e88c
commit 723c12a657
14 changed files with 733 additions and 64 deletions

View File

@@ -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)