Skip to content

lint: fix most linter issues in util.go #5

lint: fix most linter issues in util.go

lint: fix most linter issues in util.go #5

Triggered via push May 17, 2024 13:07
Status Failure
Total duration 24s
Artifacts

golangci.yml

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

Annotations

32 errors
Run GolangCI (1.13): ping_17.go#L1845
typeSwitchVar: 3 cases can benefit from type switch with assignment (gocritic)
Run GolangCI (1.13): ping_17.go#L29
Comment should end in a period (godot)
Run GolangCI (1.13): ping_17.go#L32
Comment should end in a period (godot)
Run GolangCI (1.13): ping_17.go#L35
Comment should end in a period (godot)
Run GolangCI (1.13): ping_17.go#L38
Comment should end in a period (godot)
Run GolangCI (1.13): ping_17.go#L41
Comment should end in a period (godot)
Run GolangCI (1.13): ping_17.go#L44
Comment should end in a period (godot)
Run GolangCI (1.13): ping_17.go#L47
Comment should end in a period (godot)
Run GolangCI (1.13): ping_17.go#L50
Comment should end in a period (godot)
Run GolangCI (1.13): ping_17.go#L53
Comment should end in a period (godot)
Run GolangCI (stable)
The job was canceled because "_1_13" failed.
Run GolangCI (stable): ping_17.go#L1845
typeSwitchVar: 3 cases can benefit from type switch with assignment (gocritic)
Run GolangCI (stable): ping_17.go#L29
Comment should end in a period (godot)
Run GolangCI (stable): ping_17.go#L32
Comment should end in a period (godot)
Run GolangCI (stable): ping_17.go#L35
Comment should end in a period (godot)
Run GolangCI (stable): ping_17.go#L38
Comment should end in a period (godot)
Run GolangCI (stable): ping_17.go#L41
Comment should end in a period (godot)
Run GolangCI (stable): ping_17.go#L44
Comment should end in a period (godot)
Run GolangCI (stable): ping_17.go#L47
Comment should end in a period (godot)
Run GolangCI (stable): ping_17.go#L50
Comment should end in a period (godot)
Run GolangCI (stable): ping_17.go#L53
Comment should end in a period (godot)
Run GolangCI (1.22)
The job was canceled because "_1_13" failed.
Run GolangCI (1.22): ping_17.go#L1845
typeSwitchVar: 3 cases can benefit from type switch with assignment (gocritic)
Run GolangCI (1.22): ping_17.go#L29
Comment should end in a period (godot)
Run GolangCI (1.22): ping_17.go#L32
Comment should end in a period (godot)
Run GolangCI (1.22): ping_17.go#L35
Comment should end in a period (godot)
Run GolangCI (1.22): ping_17.go#L38
Comment should end in a period (godot)
Run GolangCI (1.22): ping_17.go#L41
Comment should end in a period (godot)
Run GolangCI (1.22): ping_17.go#L44
Comment should end in a period (godot)
Run GolangCI (1.22): ping_17.go#L47
Comment should end in a period (godot)
Run GolangCI (1.22): ping_17.go#L50
Comment should end in a period (godot)
Run GolangCI (1.22): ping_17.go#L53
Comment should end in a period (godot)