restore v 0.2.0

This commit is contained in:
andrey1s
2021-09-19 16:50:42 +03:00
commit f9ae79614a
16 changed files with 1018 additions and 0 deletions

33
.golangci.yml Normal file
View File

@@ -0,0 +1,33 @@
linters-settings:
dupl:
threshold: 100
funlen:
lines: 100
statements: 50
goconst:
min-len: 2
min-occurrences: 2
gocyclo:
min-complexity: 15
golint:
min-confidence: 0
govet:
check-shadowing: true
lll:
line-length: 140
maligned:
suggest-new: true
misspell:
locale: US
exhaustive:
default-signifies-exhaustive: true
linters:
enable-all: true
issues:
# Excluding configuration per-path, per-linter, per-text and per-source
exclude-rules:
- path: _test\.go
linters:
- gomnd