Refactor telegram handlers. Fix linting (#609)

* Refactor telegram handlers. Fix linting
This commit is contained in:
Wim
2018-11-28 10:57:59 +01:00
committed by GitHub
parent f5659d455d
commit 25cd1e2cc1
3 changed files with 306 additions and 278 deletions

View File

@@ -34,7 +34,7 @@ func (options *customHTML) Header(out *bytes.Buffer, text func() bool, level int
}
func (options *customHTML) HRule(out io.ByteWriter) {
out.WriteByte('\n')
out.WriteByte('\n') //nolint:errcheck
}
func (options *customHTML) BlockQuote(out *bytes.Buffer, text []byte) {