chore: change constant name to camelcase

This commit is contained in:
Juan Pablo Villafáñez
2025-03-19 10:29:01 +01:00
parent 37b064e977
commit f4644a6225
21 changed files with 23 additions and 23 deletions

View File

@@ -71,7 +71,7 @@ func Server(cfg *config.Config) *cli.Command {
defer cancel()
connName := generators.GenerateConnectionName(cfg.Service.Name, generators.NTYPE_BUS)
connName := generators.GenerateConnectionName(cfg.Service.Name, generators.NTypeBus)
evStream, err := stream.NatsFromConfig(connName, false, stream.NatsConfig(cfg.Events))
if err != nil {
logger.Error().Err(err).Msg("Failed to initialize event stream")