chore: исправить замечания golangci-lint

- wrap_test.go: проверять ошибки newWrapConn/wrapInto во всех тестах
- server/wrap.go: nolint на type assertion bufPool (pool New всегда
  возвращает *[]byte)
- captcha/slider.go: обосновать пустой импорт image/jpeg
- namegen_test.go: применить закон Де Моргана к условию цикла
This commit is contained in:
samosvalishe committed 2026-05-18 20:35:20 +03:00
1 parent e2dd09a729
commit 1506dafe3c
4 files changed
+32 -11

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ import (
"fmt"
"image"
"image/color"
_ "image/jpeg"
_ "image/jpeg" // register JPEG decoder for image.Decode
"log"
"math"
mathrand "math/rand"