Skip to content

make lint happy

make lint happy #1

Triggered via push August 20, 2024 18:23
Status Success
Total duration 1m 9s
Artifacts

push.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: control/web/controller/manage.go#L89
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: control/web/controller/manage.go#L165
unused-parameter: parameter 'id' seems to be unused, consider removing or renaming it as _ (revive)
lint: control/web/controller/manage.go#L247
unused-parameter: parameter 'id' seems to be unused, consider removing or renaming it as _ (revive)
lint: control/web/controller/manage.go#L470
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)
lint: control/web/controller/manage.go#L475
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)
lint: control/web/controller/manage.go#L480
unused-parameter: parameter 'i' seems to be unused, consider removing or renaming it as _ (revive)
lint: control/web/controller/manage.go#L568
unused-parameter: parameter 'key' seems to be unused, consider removing or renaming it as _ (revive)
lint: control/web/controller/manage.go#L644
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
lint: control/web/controller/manage.go#L829
unused-parameter: parameter 'id' seems to be unused, consider removing or renaming it as _ (revive)
lint: control/web/controller/manage.go#L757
S1009: should omit nil check; len() for []int64 is defined as zero (gosimple)
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/zbputils/zbputils. Supported file pattern: go.sum