Improve nats-js
store (#123)
#66
Annotations
17 errors and 10 warnings
Lint:
certmagic.go#L10
import 'github.com/caddyserver/certmagic' is not allowed from list 'Main' (depguard)
|
Lint:
certmagic.go#L26
if statements should only be cuddled with assignments (wsl)
|
Lint:
certmagic.go#L29
if statements should only be cuddled with assignments (wsl)
|
Lint:
certmagic.go#L31
Error return value is not checked (errcheck)
|
Lint:
certmagic.go#L37
G404: Use of weak random number generator (math/rand instead of crypto/rand) (gosec)
|
Lint:
storage.go#L13
import 'github.com/caddyserver/certmagic' is not allowed from list 'Main' (depguard)
|
Lint:
storage.go#L49
only one cuddle assignment allowed before if statement (wsl)
|
Lint:
storage.go#L52
assignments should only be cuddled with other assignments (wsl)
|
Lint:
storage.go#L56
return statements should not be cuddled if block has more than two lines (wsl)
|
Lint:
storage.go#L63
assignments should only be cuddled with other assignments (wsl)
|
Summary
impossible type assertion: ipubsub.MessageAckHandler(m).(*psAckHandler)
|
Summary
cannot use ackh (variable of type *psAckHandler) as type "cloud.google.com/go/internal/pubsub".AckHandler in argument to ipubsub.NewMessage:
|
Summary
cannot use "quic-go doesn't build on Go 1.18 yet." (untyped string constant) as int value in variable declaration
|
Summary
no required module provides package go.opentelemetry.io/otel/unit; to add it:
|
Summary
no required module provides package go.opentelemetry.io/otel/unit; to add it:
|
Summary
Process completed with exit code 1.
|
Unit Tests
Process completed with exit code 1.
|
Lint:
storage.go#L34
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
options.go#L10
exported: exported var DefaultMaxActive should have comment or be unexported (revive)
|
Lint:
options.go#L32
exported: exported function ConnectTimeout should have comment or be unexported (revive)
|
Lint:
options.go#L39
exported: exported function ReadTimeout should have comment or be unexported (revive)
|
Lint:
options.go#L46
exported: exported function WriteTimeout should have comment or be unexported (revive)
|
Lint:
options.go#L53
exported: exported function MaxIdle should have comment or be unexported (revive)
|
Lint:
options.go#L60
exported: exported function MaxActive should have comment or be unexported (revive)
|
Lint:
options.go#L67
exported: exported function IdleTimeout should have comment or be unexported (revive)
|
Lint:
redis.go#L205
unused-parameter: parameter 'opts' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint:
grpc.go#L154
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
|