Add qodana CI checks #380
35 new problems found by Qodana for Go
Qodana for Go
35 new problems were found
Inspection name | Severity | Problems |
---|---|---|
Deprecated element |
🔶 Warning | 16 |
Unhandled error |
🔶 Warning | 5 |
Unused constant |
🔶 Warning | 3 |
Unused global variable |
🔶 Warning | 3 |
Imported package name as a name identifier |
🔶 Warning | 2 |
Missing 'case' statements for 'iota' consts in 'switch' |
🔶 Warning | 1 |
Unused exported function |
🔶 Warning | 1 |
Mixed value and pointer receivers |
◽️ Notice | 2 |
Comment of exported element starts with the incorrect name |
◽️ Notice | 1 |
Redundant import alias |
◽️ Notice | 1 |
☁️ View the detailed Qodana report
Detected 118 dependencies
Third-party software list
This page lists the third-party software dependencies used in project
Contact Qodana team
Contact us at [email protected]
- Or via our issue tracker: https://jb.gg/qodana-issue
- Or share your feedback: https://jb.gg/qodana-discussions
Details
This result was published with Qodana GitHub Action
Annotations
Check notice on line 1 in component/http/component.go
github-actions / Qodana for Go
Comment of exported element starts with the incorrect name
Package comment should be of the form 'Package http ...'
Check warning on line 40 in examples/examples.go
github-actions / Qodana for Go
Deprecated element
`Endpoint` is deprecated
Check warning on line 81 in component/grpc/component_test.go
github-actions / Qodana for Go
Deprecated element
`WithBlock` is deprecated
Check warning on line 38 in examples/examples.go
github-actions / Qodana for Go
Deprecated element
`Endpoint` is deprecated
Check warning on line 283 in component/amqp/component.go
github-actions / Qodana for Go
Deprecated element
`QueueInspect` is deprecated
Check warning on line 51 in examples/examples.go
github-actions / Qodana for Go
Deprecated element
`WithEndpointResolverWithOptions` is deprecated
Check warning on line 186 in component/sqs/component.go
github-actions / Qodana for Go
Deprecated element
`AttributeNames` is deprecated
Check warning on line 166 in component/grpc/component_test.go
github-actions / Qodana for Go
Deprecated element
`WithBlock` is deprecated
Check warning on line 42 in component/kafka/component_test.go
github-actions / Qodana for Go
Deprecated element
`BalanceStrategySticky` is deprecated
Check warning on line 46 in examples/examples.go
github-actions / Qodana for Go
Deprecated element
`Endpoint` is deprecated
Check warning on line 86 in client/grpc/grpc_test.go
github-actions / Qodana for Go
Deprecated element
`WithInsecure` is deprecated
Check warning on line 69 in client/grpc/grpc_test.go
github-actions / Qodana for Go
Deprecated element
`WithInsecure` is deprecated
Check warning on line 42 in component/kafka/component_test.go
github-actions / Qodana for Go
Deprecated element
`Strategy` is deprecated
Check warning on line 26 in client/grpc/grpc.go
github-actions / Qodana for Go
Deprecated element
`DialContext` is deprecated
Check warning on line 165 in component/grpc/component_test.go
github-actions / Qodana for Go
Deprecated element
`DialContext` is deprecated
Check warning on line 80 in component/grpc/component_test.go
github-actions / Qodana for Go
Deprecated element
`DialContext` is deprecated
Check warning on line 38 in examples/examples.go
github-actions / Qodana for Go
Deprecated element
`EndpointResolverWithOptionsFunc` is deprecated
Check warning on line 35 in examples/service/http.go
github-actions / Qodana for Go
Imported package name as a name identifier
Variable `router` collides with imported package name
Check warning on line 34 in component/sqs/metric.go
github-actions / Qodana for Go
Imported package name as a name identifier
Variable `attribute` collides with imported package name
Check notice on line 94 in client/kafka/kafka.go
github-actions / Qodana for Go
Mixed value and pointer receivers
Struct Builder has methods on both value and pointer receivers. Such usage is not recommended by the Go Documentation.
Check notice on line 119 in client/kafka/kafka.go
github-actions / Qodana for Go
Mixed value and pointer receivers
Struct Builder has methods on both value and pointer receivers. Such usage is not recommended by the Go Documentation.
Check notice on line 4 in examples/examples.go
github-actions / Qodana for Go
Redundant import alias
Redundant alias
Check warning on line 46 in reliability/circuitbreaker/breaker.go
github-actions / Qodana for Go
Missing 'case' statements for 'iota' consts in 'switch'
Missing 'case' statements for 'iota' consts in 'switch'
Check warning on line 29 in component/kafka/component_test.go
github-actions / Qodana for Go
Unhandled error
Unhandled error
Check warning on line 31 in component/grpc/component_test.go
github-actions / Qodana for Go
Unhandled error
Unhandled error