[hw-2] add tests, coverage, benchmarks

This commit is contained in:
Никита Шубин
2025-05-31 10:47:47 +00:00
parent 1a3d4892a8
commit a0e36639ca
22 changed files with 3058 additions and 48 deletions

View File

@@ -13,6 +13,10 @@ output:
print-linter-name: true
linters-settings:
gocyclo:
min-complexity: 15
gocognit:
min-complexity: 20
govet:
enable:
- shadow
@@ -28,6 +32,8 @@ linters:
# - dupl - it's very slow, enable if you really know why you need it
- errcheck
- goconst
- gocognit
- gocyclo
- goimports
- gosec
- govet