From 0060019cf167cb69a16e2876b4cd2ae1aadbb550 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Isaque=20V=C3=A9ras?= Date: Sun, 12 Mar 2023 18:22:36 -0300 Subject: [PATCH] fix(lint): error strings should not be capitalized --- pkg/mailer/sendmail.go | 2 +- pkg/query/formatting.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/mailer/sendmail.go b/pkg/mailer/sendmail.go index 74bf8c3..7c7afbb 100644 --- a/pkg/mailer/sendmail.go +++ b/pkg/mailer/sendmail.go @@ -73,5 +73,5 @@ func findSendmailPath() (path string, err error) { } } - return "", errors.New("Failed to locate a sendmail executable path.") + return "", errors.New("failed to locate a sendmail executable path") } diff --git a/pkg/query/formatting.go b/pkg/query/formatting.go index 131a980..6de0c11 100644 --- a/pkg/query/formatting.go +++ b/pkg/query/formatting.go @@ -12,9 +12,9 @@ const ( ) var ( - errInvalidInput error = errors.New("Invalid input") - errNoneTagFound error = errors.New("No tag found") - errFieldNull error = errors.New("Field null") + errInvalidInput error = errors.New("invalid input") + errNoneTagFound error = errors.New("no tag found") + errFieldNull error = errors.New("field null") ) // FormatValuesInUp format columns and values ​​for an insert or update query