fix: error handling, defer cleanup, graceful shutdown, golangci-lint setup
This commit is contained in:
12
.golangci.yml
Normal file
12
.golangci.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
version: "2"
|
||||
|
||||
linters:
|
||||
default: none
|
||||
enable:
|
||||
- govet
|
||||
- staticcheck
|
||||
- unused
|
||||
exclusions:
|
||||
rules:
|
||||
- linters: [staticcheck]
|
||||
text: "SA1029"
|
||||
Reference in New Issue
Block a user