chore: change constant name to camelcase

This commit is contained in:
Juan Pablo Villafáñez
2025-09-08 17:32:36 +02:00
committed by Jörn Friedrich Dreyer
parent 8b5b3fb430
commit c0b4a5daa0
21 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ var _registeredEvents = []events.Unmarshaller{
// ListenForEvents listens for events and acts accordingly
func ListenForEvents(ctx context.Context, cfg *config.Config, l log.Logger) error {
connName := generators.GenerateConnectionName(cfg.Service.Name, generators.NTYPE_BUS)
connName := generators.GenerateConnectionName(cfg.Service.Name, generators.NTypeBus)
bus, err := stream.NatsFromConfig(connName, false, stream.NatsConfig(cfg.Events))
if err != nil {
l.Error().Err(err).Msg("cannot connect to nats")