MSP-5223 update .golangci.yml + fix linters
This commit is contained in:
1 parent
ee44e68af9
commit
29c1a4deeb
11 files changed
+17
-34
No files matched your search
@@ -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,3 +1,4 @@
|
||||
// nolint: tagliatelle
|
||||
package entity
|
||||
|
||||
import (
|
||||
|
||||
@@ -32,6 +32,7 @@ func (e Event) Key() string {
|
||||
}
|
||||
}
|
||||
|
||||
// nolint:tagliatelle
|
||||
type EventPayload struct {
|
||||
ConfigUpdated *PayloadConfigUpdated `json:",omitempty"`
|
||||
ModuleReady *PayloadModuleReady `json:",omitempty"`
|
||||
|
||||
@@ -4,6 +4,7 @@ import (
|
||||
"isp-config-service/entity/xtypes"
|
||||
)
|
||||
|
||||
// nolint:tagliatelle
|
||||
type Module struct {
|
||||
Id string `json:"id"`
|
||||
Name string `json:"name"`
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
// nolint:tagliatelle
|
||||
package entity
|
||||
|
||||
import (
|
||||
|
||||
Reference in new issue
Block a user