Skip to content

accept a description of a connection in the cli and translate it to co… #902

accept a description of a connection in the cli and translate it to co…

accept a description of a connection in the cli and translate it to co… #902

Triggered via pull request January 12, 2024 10:12
Status Failure
Total duration 37s
Artifacts

golangci-lint.yml

on: pull_request
golangci-lint
27s
golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 1 warning
golangci-lint: cmd/analyzer/main.go#L89
string `ICMP` has 2 occurrences, make it a constant (goconst)
golangci-lint: cmd/analyzer/main.go#L92
line is 151 characters (lll)
golangci-lint: cmd/analyzer/parse_args.go#L231
line is 154 characters (lll)
golangci-lint: cmd/analyzer/parse_args.go#L239
line is 154 characters (lll)
golangci-lint: cmd/analyzer/main.go#L87
func `translateCDtoConnectionSet` is unused (unused)
golangci-lint
issues found
golangci-lint: cmd/analyzer/parse_args.go#L236
add-constant: string literal "srcMaxPort %d should be higher than srcMinPort %d" appears, at least, 2 times, create a named constant for it (revive)