Skip to content

Commit

Permalink
stream response format
Browse files Browse the repository at this point in the history
  • Loading branch information
mirzakhany committed Oct 24, 2024
1 parent 57b29a4 commit 94e6cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/grpc/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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++
}

Expand Down

0 comments on commit 94e6cc4

Please sign in to comment.