From 62390b1d465d72d770f7ef1f2b22c0c1b54dd933 Mon Sep 17 00:00:00 2001 From: Pau Peinado Date: Wed, 28 Aug 2024 14:15:17 +0200 Subject: [PATCH] apply PR feedback --- pkg/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/main.go b/pkg/main.go index c7c9a60..5920b7b 100644 --- a/pkg/main.go +++ b/pkg/main.go @@ -19,14 +19,14 @@ func main() { msgCh2 := make(chan messages.Message, bufLen) bufLen = GetBufferLength("ACK_BUFFER_LENGTH") - ackCh1 := make(chan messages.Ack, bufLen) + ackCh := make(chan messages.Ack, bufLen) - reader, err := readers.NewReader(msgCh1, ackCh1) + reader, err := readers.NewReader(msgCh1, ackCh) if err != nil { panic(err) } - writer, err := writers.NewWriter(msgCh2, ackCh1) + writer, err := writers.NewWriter(msgCh2, ackCh) if err != nil { panic(err) }