chore: upgrade golangci-lint to 1.51.1

This commit is contained in:
Oleg Lobanov
2023-02-16 09:11:12 +01:00
parent fa95299df4
commit 10d628aecc
11 changed files with 307 additions and 719 deletions

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 {