go-makefile-maker + fork commit #2
Annotations
10 errors and 1 warning
Checks:
client/bird_client.go#L81
paramTypeCombine: func(socketPath string, ipVersion string) ([]*protocol.Protocol, error) could be replaced with func(socketPath, ipVersion string) ([]*protocol.Protocol, error) (gocritic)
|
Checks:
client/bird_client.go#L6
File is not properly formatted (goimports)
|
Checks:
client/bird_client.go#L46
fmt.Sprintf can be replaced with string concatenation (perfsprint)
|
Checks:
client/bird_client.go#L57
fmt.Sprintf can be replaced with string concatenation (perfsprint)
|
Checks:
main.go#L77
Error return value of `w.Write` is not checked (errcheck)
|
Checks:
main.go#L91
G114: Use of net/http serve function that has no support for setting timeouts (gosec)
|
Checks:
main.go#L95
G114: Use of net/http serve function that has no support for setting timeouts (gosec)
|
Checks:
main.go#L76
use of `http.HandleFunc` forbidden by pattern `^http\.Handle(?:Func)?$` (forbidigo)
|
Checks:
main.go#L87
use of `http.HandleFunc` forbidden by pattern `^http\.Handle(?:Func)?$` (forbidigo)
|
Checks:
main.go#L11
File is not properly formatted (goimports)
|
Checks
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|