feat: skip handler #50
Annotations
8 errors and 1 warning
sonarcloud:
example/consumer/single.go#L90
error returned from external package is unwrapped: sig: func github.com/worldline-go/wkafka.New(ctx context.Context, cfg github.com/worldline-go/wkafka.Config, opts ...github.com/worldline-go/wkafka.Option) (*github.com/worldline-go/wkafka.Client, error) (wrapcheck)
|
sonarcloud:
example/consumer/single.go#L103
G112: Potential Slowloris Attack because ReadHeaderTimeout is not configured in the http.Server (gosec)
|
sonarcloud:
example/consumer/single.go#L127
error returned from external package is unwrapped: sig: func (*golang.org/x/sync/errgroup.Group).Wait() error (wrapcheck)
|
sonarcloud:
handler/handler.go#L48
line is 151 characters (lll)
|
sonarcloud:
handler/handler.go#L71
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"invalid option: %v\", req.Msg.GetOption())" (err113)
|
sonarcloud:
meter.go#L21
noopMeter returns interface (github.com/worldline-go/wkafka.Meter) (ireturn)
|
sonarcloud:
skip.go#L11
unused-parameter: parameter 'cfg' seems to be unused, consider removing or renaming it as _ (revive)
|
sonarcloud:
skip.go#L53
unused-parameter: parameter 'm' seems to be unused, consider removing or renaming it as _ (revive)
|
sonarcloud
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|