Skip to content

lint: fix some linter issues in ping_14.go, ping_16.go, ping_generic.go #7

lint: fix some linter issues in ping_14.go, ping_16.go, ping_generic.go

lint: fix some linter issues in ping_14.go, ping_16.go, ping_generic.go #7

Triggered via push June 3, 2024 08:16
Status Failure
Total duration 30s
Artifacts

golangci.yml

on: push
Matrix: Run GolangCI
Fit to window
Zoom out
Zoom in

Annotations

14 errors
Run GolangCI (1.13): query.go#L272
slice `b` does not have non-zero initial length (makezero)
Run GolangCI (1.13): query.go#L321
slice `b` does not have non-zero initial length (makezero)
Run GolangCI (1.13): query.go#L469
slice `pb` does not have non-zero initial length (makezero)
Run GolangCI (1.13): query.go#L483
slice `pb` does not have non-zero initial length (makezero)
Run GolangCI (1.13): query.go#L635
slice `plugins` does not have non-zero initial length (makezero)
Run GolangCI (1.13): net.go#L54
add-constant: string literal "failed to resolve UDP address: %w" appears, at least, 3 times, create a named constant for it (revive)
Run GolangCI (1.13): net.go#L64
add-constant: string literal "failed to set connection deadline: %w" appears, at least, 3 times, create a named constant for it (revive)
Run GolangCI (1.13): query.go#L253
unused-receiver: method receiver 'p' is not referenced in method's body, consider removing or renaming it as _ (revive)
Run GolangCI (1.13): query.go#L269
unused-receiver: method receiver 'p' is not referenced in method's body, consider removing or renaming it as _ (revive)
Run GolangCI (1.13): query.go#L318
unused-receiver: method receiver 'p' is not referenced in method's body, consider removing or renaming it as _ (revive)
Run GolangCI (1.22)
The job was canceled because "_1_13" failed.
Run GolangCI (1.22)
The operation was canceled.
Run GolangCI (stable)
The job was canceled because "_1_13" failed.
Run GolangCI (stable)
The operation was canceled.