Skip to content

升级依赖版本&&重构代码 #20

升级依赖版本&&重构代码

升级依赖版本&&重构代码 #20

Triggered via push March 24, 2024 15:38
Status Success
Total duration 5m 16s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

11 warnings and 10 notices
qodana
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: JetBrains/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Bool condition: transport/http/server_test.go#L371
Expression `v` is always `true`
Bool condition: transport/http/server_test.go#L369
Expression `v` is always `true`
Bool condition: transport/http/server_test.go#L370
Expression `v` is always `true`
Deprecated element: transport/grpc/resolver/discovery/builder_test.go#L35
`DisableDebugLog` is deprecated
Deprecated element: middleware/tracing/span.go#L118
`NetPeerNameKey` is deprecated
Deprecated element: middleware/tracing/span.go#L119
`NetPeerPortKey` is deprecated
Deprecated element: transport/grpc/resolver/discovery/builder.go#L43
Deprecated function is still used
Deprecated element: transport/grpc/resolver/discovery/builder_test.go#L76
`DisableDebugLog` is deprecated
Unexported return type of the exported function: adapter/logger/kratos/logger.go#L18
Exported function with the unexported return type
Reserved word used as name: pkg/net/net.go#L58
Variable `max` collides with the 'builtin' function
Malformed build tag: transport/http/codec_go1.20.go#L2
//+build comments can be removed
Comment of exported element starts with the incorrect name: adapter/broker/kafka/otelsarama/version.go#L15
Package comment should be of the form 'Package otelsarama ...'
Comment of exported element starts with the incorrect name: adapter/broker/kafka/otelsarama/option.go#L15
Package comment should be of the form 'Package otelsarama ...'
Comment of exported element starts with the incorrect name: adapter/broker/kafka/otelsarama/producer.go#L15
Package comment should be of the form 'Package otelsarama ...'
Comment of exported element starts with the incorrect name: adapter/broker/kafka/otelsarama/consumer_group.go#L15
Package comment should be of the form 'Package otelsarama ...'
Comment of exported element starts with the incorrect name: adapter/broker/kafka/otelsarama/message.go#L15
Package comment should be of the form 'Package otelsarama ...'
Comment of exported element starts with the incorrect name: adapter/broker/kafka/otelsarama/consumer.go#L15
Package comment should be of the form 'Package otelsarama ...'
Comment of exported element starts with the incorrect name: adapter/broker/kafka/otelsarama/dispatcher.go#L15
Package comment should be of the form 'Package otelsarama ...'
'defer' in the loop: pkg/net/net_test.go#L20
Possible resource leak, `defer` is called in the `for` loop
Error string should not be capitalized or end with punctuation: middleware/middleware.go#L15
Error string should not be capitalized or end with punctuation mark