From 6e182b298130efe7c8153f94e7ec7bc217190d58 Mon Sep 17 00:00:00 2001 From: a <a@tuxpa.in> Date: Tue, 26 Dec 2023 01:52:29 -0600 Subject: [PATCH] remove extra newline --- contrib/codecs/http/codec_sse.go | 1 - 1 file changed, 1 deletion(-) diff --git a/contrib/codecs/http/codec_sse.go b/contrib/codecs/http/codec_sse.go index 315155e..382fbdc 100644 --- a/contrib/codecs/http/codec_sse.go +++ b/contrib/codecs/http/codec_sse.go @@ -103,7 +103,6 @@ func (c *SseCodec) Flush() error { Event: []byte("object"), Data: &c.cur, }) - c.w.Write([]byte{'\n'}) if c.f != nil { c.f.Flush() } -- GitLab