golangci-lintを導入 #2
Annotations
10 errors and 10 warnings
lint:
backend/state-manager/cmd/main.go#L1
: # github.com/ueckoken/plarail2023/backend/state-manager/cmd
|
lint:
backend/state-manager/cmd/seed.go#L25
main redeclared in this block
|
lint:
backend/state-manager/cmd/main.go#L15
other declaration of main (typecheck)
|
lint:
backend/state-manager/pkg/db/db.go#L1
: # github.com/ueckoken/plarail2023/backend/state-manager/pkg/db [github.com/ueckoken/plarail2023/backend/state-manager/pkg/db.test]
|
lint:
backend/state-manager/pkg/db/db_test.go#L26
undefined: SetPoint
|
lint:
backend/state-manager/pkg/db/db_test.go#L46
undefined: SetStop
|
lint:
backend/state-manager/pkg/db/db_test.go#L66
undefined: SetPoint
|
lint:
backend/state-manager/pkg/db/db_test.go#L70
undefined: SetPoint
|
lint:
backend/state-manager/pkg/db/db_test.go#L87
undefined: SetStop
|
lint:
backend/state-manager/pkg/db/db_test.go#L91
undefined: SetStop
|
lint:
backend/state-manager/pkg/operation/operation.go#L15
unused-parameter: parameter 'change' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
backend/state-manager/pkg/mqtt_handler/mqtt_handler_test.go#L1
var-naming: don't use an underscore in package name (revive)
|
lint:
backend/state-manager/pkg/mqtt_handler/mqtt_handler_test.go#L8
unused-parameter: parameter 't' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
backend/state-manager/pkg/mqtt_handler/mqtt_handler.go#L1
var-naming: don't use an underscore in package name (revive)
|
lint:
backend/state-manager/pkg/mqtt_handler/mqtt_handler.go#L145
unused-parameter: parameter 'cc' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
backend/state-manager/pkg/mqtt_handler/mqtt_handler.go#L149
unused-parameter: parameter 'cc' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
backend/state-manager/pkg/connect/connect_handler.go#L29
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
backend/state-manager/pkg/connect/connect_handler.go#L30
unused-parameter: parameter 'req' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
backend/state-manager/pkg/connect/connect_handler.go#L61
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
lint:
backend/state-manager/pkg/connect/connect_handler.go#L83
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|