accept a description of a connection in the cli and translate it to co… #902
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)
|