diff options
author | Wim <wim@42.be> | 2018-11-08 00:35:30 +0100 |
---|---|---|
committer | Wim <wim@42.be> | 2018-11-08 00:35:30 +0100 |
commit | 588b8e0303289f55b4b1407619fb5c73988fe424 (patch) | |
tree | 48af9099ff3ce4319edd6471a20d0562c1497d0a | |
parent | 1794922263192a1ccccaf0cde2300d116e702042 (diff) | |
download | matterbridge-msglm-588b8e0303289f55b4b1407619fb5c73988fe424.tar.gz matterbridge-msglm-588b8e0303289f55b4b1407619fb5c73988fe424.tar.bz2 matterbridge-msglm-588b8e0303289f55b4b1407619fb5c73988fe424.zip |
Make interfacer linter happy
-rw-r--r-- | bridge/telegram/html.go | 3 |
1 files changed, 2 insertions, 1 deletions
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') } |