Skip to content

Go code refactor and test for routes endpoint #32

Go code refactor and test for routes endpoint

Go code refactor and test for routes endpoint #32

Triggered via pull request January 17, 2025 09:06
Status Success
Total duration 28s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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