first commit
All checks were successful
Lint / Run on Ubuntu (push) Successful in 2m8s
Tests / Run on Ubuntu (push) Successful in 55s

This commit is contained in:
2025-04-28 21:04:13 +05:00
commit a20725c7e9
51 changed files with 3099 additions and 0 deletions

47
.golangci.yml Normal file
View File

@@ -0,0 +1,47 @@
run:
timeout: 5m
allow-parallel-runners: true
issues:
# don't skip warning about doc comments
# don't exclude the default set of lint
exclude-use-default: false
# restore some of the defaults
# (fill in the rest as needed)
exclude-rules:
- path: "api/*"
linters:
- lll
- path: "internal/*"
linters:
- dupl
- lll
linters:
disable-all: true
enable:
- dupl
- errcheck
- copyloopvar
- ginkgolinter
- goconst
- gocyclo
- gofmt
- goimports
- gosimple
- govet
- ineffassign
- lll
- misspell
- nakedret
- prealloc
- revive
- staticcheck
- typecheck
- unconvert
- unparam
- unused
linters-settings:
revive:
rules:
- name: comment-spacings