golangci-lintを導入 #2
Annotations
10 errors and 10 warnings
golangci-lint:
backend/state-manager/cmd/main.go#L1
: # github.com/ueckoken/plarail2023/backend/state-manager/cmd
|
golangci-lint:
backend/state-manager/cmd/seed.go#L25
main redeclared in this block
|
golangci-lint:
backend/state-manager/cmd/main.go#L15
other declaration of main (typecheck)
|
golangci-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]
|
golangci-lint:
backend/state-manager/pkg/db/db_test.go#L26
undefined: SetPoint
|
golangci-lint:
backend/state-manager/pkg/db/db_test.go#L46
undefined: SetStop
|
golangci-lint:
backend/state-manager/pkg/db/db_test.go#L66
undefined: SetPoint
|
golangci-lint:
backend/state-manager/pkg/db/db_test.go#L70
undefined: SetPoint
|
golangci-lint:
backend/state-manager/pkg/db/db_test.go#L87
undefined: SetStop
|
golangci-lint:
backend/state-manager/pkg/db/db_test.go#L91
undefined: SetStop
|
golangci-lint:
backend/state-manager/pkg/operation/operation.go#L15
unused-parameter: parameter 'change' seems to be unused, consider removing or renaming it as _ (revive)
|
golangci-lint:
backend/state-manager/pkg/mqtt_handler/mqtt_handler_test.go#L1
var-naming: don't use an underscore in package name (revive)
|
golangci-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)
|
golangci-lint:
backend/state-manager/pkg/mqtt_handler/mqtt_handler.go#L1
var-naming: don't use an underscore in package name (revive)
|
golangci-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)
|
golangci-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)
|
golangci-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)
|
golangci-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)
|
golangci-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)
|
golangci-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)
|
The logs for this run have expired and are no longer available.
Loading