MSP-5223 update .golangci.yml + fix linters

This commit is contained in:
Кузнецов Иван Александрович committed 2025-04-11 14:15:30 +03:00
1 parent ee44e68af9
commit 29c1a4deeb
11 files changed
+17 -34

No files matched your search

+1
View File
@@ -5,6 +5,7 @@ import (
"isp-config-service/entity/xtypes"
)
// nolint: tagliatelle
type Backend struct {
WsConnectionId string `json:"ws_connection_id"`
ModuleId string `json:"module_id"`
+1
View File
@@ -1,3 +1,4 @@
// nolint: tagliatelle
package entity
import (
+1
View File
@@ -32,6 +32,7 @@ func (e Event) Key() string {
}
}
// nolint:tagliatelle
type EventPayload struct {
ConfigUpdated *PayloadConfigUpdated `json:",omitempty"`
ModuleReady *PayloadModuleReady `json:",omitempty"`
+1
View File
@@ -4,6 +4,7 @@ import (
"isp-config-service/entity/xtypes"
)
// nolint:tagliatelle
type Module struct {
Id string `json:"id"`
Name string `json:"name"`
+1
View File
@@ -1,3 +1,4 @@
// nolint:tagliatelle
package entity
import (