From 1bd31a9e1df74a06699a04217aed4b7430e1e679 Mon Sep 17 00:00:00 2001 From: Denis Kirillov Date: Fri, 12 Aug 2022 12:54:19 +0300 Subject: [PATCH] [#191] Fix lint issues Signed-off-by: Denis Kirillov --- main.go | 6 +++--- uploader/multipart/multipart.go | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/main.go b/main.go index b54fd67..5b4d188 100644 --- a/main.go +++ b/main.go @@ -26,9 +26,9 @@ func main() { // Panics on failure. // // Logger is built from zap's production logging configuration with: -// * parameterized level (debug by default) -// * console encoding -// * ISO8601 time encoding +// - parameterized level (debug by default) +// - console encoding +// - ISO8601 time encoding // // Logger records a stack trace for all messages at or above fatal level. // diff --git a/uploader/multipart/multipart.go b/uploader/multipart/multipart.go index 531b83f..69e6719 100644 --- a/uploader/multipart/multipart.go +++ b/uploader/multipart/multipart.go @@ -413,7 +413,8 @@ func (r *Reader) isBoundaryDelimiterLine(line []byte) (ret bool) { // skipLWSPChar returns b with leading spaces and tabs removed. // RFC 822 defines: -// LWSP-char = SPACE / HTAB +// +// LWSP-char = SPACE / HTAB func skipLWSPChar(b []byte) []byte { for len(b) > 0 && (b[0] == ' ' || b[0] == '\t') { b = b[1:]