chore: upgrade golangci-lint to 1.51.1

This commit is contained in:
Oleg Lobanov committed 2023-02-16 09:19:44 +01:00
1 parent fa95299df4
commit 10d628aecc
11 files changed
+307 -719

No files matched your search

+1
View File
@@ -55,6 +55,7 @@ var checkableFields = []string{
// Clean cleans up a user and verifies if all its fields
// are alright to be saved.
//
//nolint:gocyclo
func (u *User) Clean(baseScope string, fields ...string) error {
if len(fields) == 0 {