Go code refactor and test for routes endpoint #32
Annotations
11 warnings
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint:
migrations/1664858353_collections_snapshot.go#L1
should have a package comment
|
Lint:
migrations/1664858353_collections_snapshot.go#L17
parameter 'app' seems to be unused, consider removing or renaming it as _
|
Lint:
deployment/thirdparty-simulator/cmd/api.go#L1
should have a package comment
|
Lint:
deployment/thirdparty-simulator/cmd/api.go#L13
parameter 'cmd' seems to be unused, consider removing or renaming it as _
|
Lint:
deployment/thirdparty-simulator/cmd/api.go#L13
parameter 'args' seems to be unused, consider removing or renaming it as _
|
Lint:
deployment/thirdparty-simulator/cmd/root.go#L16
exported function Execute should have comment or be unexported
|
Lint:
deployment/thirdparty-simulator/main.go#L1
should have a package comment
|
Lint:
pkg/routes/routes.go#L1
should have a package comment
|
Lint:
pkg/routes/routes.go#L36
exported function Setup should have comment or be unexported
|
Lint:
pkg/routes/routes_test.go#L14
func parameter collectionNameOrId should be collectionNameOrID
|