fix: error handling, defer cleanup, graceful shutdown, golangci-lint setup

This commit is contained in:
2026-04-18 17:32:34 +03:00
parent 44cb3c6576
commit ebb8cded41
16 changed files with 174 additions and 47 deletions

12
.golangci.yml Normal file
View File

@@ -0,0 +1,12 @@
version: "2"
linters:
default: none
enable:
- govet
- staticcheck
- unused
exclusions:
rules:
- linters: [staticcheck]
text: "SA1029"