Compare commits

..

1 commit

Author SHA1 Message Date
75a6b87671 feat #4: add storage config in config file 2023-10-22 13:45:49 +02:00

View file

@ -41,7 +41,7 @@ func initStorage(conf *config.AppConfig) (storage.Storage, error) {
case "memory":
storageType = memory.New(logger.L)
default:
return storageType, fmt.Errorf("Unsupported storage backend type: %s", conf.StorageType)
return storageType, fmt.Errorf("unsupported storage backend type: %s", conf.StorageType)
}
return storageType, nil
}