Make interfacer linter happy

This commit is contained in:
Wim 2018-11-08 00:35:30 +01:00
parent 1794922263
commit 588b8e0303
1 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ package btelegram
import ( import (
"bytes" "bytes"
"html" "html"
"io"
"github.com/russross/blackfriday" "github.com/russross/blackfriday"
) )
@ -32,7 +33,7 @@ func (options *customHTML) Header(out *bytes.Buffer, text func() bool, level int
options.Paragraph(out, text) options.Paragraph(out, text)
} }
func (options *customHTML) HRule(out *bytes.Buffer) { func (options *customHTML) HRule(out io.ByteWriter) {
out.WriteByte('\n') out.WriteByte('\n')
} }