From 94e6cc4dfd52df46d87e1fe6c29d37a37b3df7c4 Mon Sep 17 00:00:00 2001 From: Mohsen Mirzakhani Date: Thu, 24 Oct 2024 04:22:45 +0200 Subject: [PATCH] stream response format --- internal/grpc/grpc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/grpc/grpc.go b/internal/grpc/grpc.go index 05278af..cf733e2 100644 --- a/internal/grpc/grpc.go +++ b/internal/grpc/grpc.go @@ -370,7 +370,7 @@ func (s *Service) invokeServerStream(ctx context.Context, conn *grpc.ClientConn, } // concat responses with a new line and message counter - out += fmt.Sprintf("Message %d:\n%s\n\n", counter, string(respJSON)) + out += fmt.Sprintf("// Message %d:\n%s\n\n", counter, string(respJSON)) counter++ }