From 588b8e0303289f55b4b1407619fb5c73988fe424 Mon Sep 17 00:00:00 2001 From: Wim Date: Thu, 8 Nov 2018 00:35:30 +0100 Subject: [PATCH] Make interfacer linter happy --- bridge/telegram/html.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bridge/telegram/html.go b/bridge/telegram/html.go index 35b3f4f9..12d6d0c6 100644 --- a/bridge/telegram/html.go +++ b/bridge/telegram/html.go @@ -3,6 +3,7 @@ package btelegram import ( "bytes" "html" + "io" "github.com/russross/blackfriday" ) @@ -32,7 +33,7 @@ func (options *customHTML) Header(out *bytes.Buffer, text func() bool, level int options.Paragraph(out, text) } -func (options *customHTML) HRule(out *bytes.Buffer) { +func (options *customHTML) HRule(out io.ByteWriter) { out.WriteByte('\n') }