Skip to content

enable to create protocol buffer messages dynamically from proto files #867

enable to create protocol buffer messages dynamically from proto files

enable to create protocol buffer messages dynamically from proto files #867

Triggered via pull request October 27, 2024 21:07
@zoncoenzoncoen
synchronize #457
Status Skipped
Total duration 3s
Artifacts

generate-credits.yml

on: pull_request_target
generate
0s
generate
Fit to window
Zoom out
Zoom in

Annotations

22 errors
[golangci] mock/protocol/grpc/handler.go#L256: mock/protocol/grpc/handler.go#L256
G115: integer overflow conversion int -> uint32 (gosec)
[golangci] mock/protocol/grpc/handler_test.go#L25: mock/protocol/grpc/handler_test.go#L25
`resovle` is a misspelling of `resolve` (misspell)
[golangci] mock/protocol/grpc/handler_test.go#L142: mock/protocol/grpc/handler_test.go#L142
`reponse` is a misspelling of `response` (misspell)
[golangci] mock/protocol/grpc/handler_test.go#L155: mock/protocol/grpc/handler_test.go#L155
`reponse` is a misspelling of `response` (misspell)
[golangci] protocol/grpc/request_custom_client.go#L26: protocol/grpc/request_custom_client.go#L26
unused-parameter: parameter 'opts' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] assert/nop.go#L5: assert/nop.go#L5
unused-parameter: parameter 'v' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] mock/protocol/grpc/handler.go#L55: mock/protocol/grpc/handler.go#L55
unused-parameter: parameter 'srv' seems to be unused, consider removing or renaming it as _ (revive)
[golangci] mock/protocol/grpc/handler.go#L69: mock/protocol/grpc/handler.go#L69
Function `New` should pass the context parameter (contextcheck)
[golangci] mock/protocol/grpc/handler.go#L95: mock/protocol/grpc/handler.go#L95
Function `New` should pass the context parameter (contextcheck)
[golangci] mock/protocol/grpc/handler.go#L96: mock/protocol/grpc/handler.go#L96
Function `ExecuteTemplate` should pass the context parameter (contextcheck)
[golangci] mock/protocol/grpc/grpc.go#L52: mock/protocol/grpc/grpc.go#L52
grpc.server is missing fields m, config, resolver, addr, srv (exhaustruct)
[golangci] mock/protocol/grpc/handler.go#L28: mock/protocol/grpc/handler.go#L28
grpc.ServiceDesc is missing fields HandlerType, Methods, Streams (exhaustruct)
[golangci] protocol/grpc/request.go#L100: protocol/grpc/request.go#L100
grpc.RequestOptions is missing field Reflection (exhaustruct)
[golangci] protocol/grpc/request_custom_client.go#L156: protocol/grpc/request_custom_client.go#L156
grpc.response is missing fields Header, Trailer (exhaustruct)
[golangci] protocol/grpc/proto/proto.go#L33: protocol/grpc/proto/proto.go#L33
protocompile.Compiler is missing fields MaxParallelism, Reporter, SourceInfoMode, RetainASTs, Symbols (exhaustruct)
[golangci] protocol/grpc/proto/proto.go#L34: protocol/grpc/proto/proto.go#L34
protocompile.SourceResolver is missing field Accessor (exhaustruct)
[golangci] protocol/grpc/request.go#L121: protocol/grpc/request.go#L121
interface method invoke must have all named params (inamedparam)
[golangci] protocol/grpc/proto/proto.go#L16: protocol/grpc/proto/proto.go#L16
interface method ResolveService must have named param for type protoreflect.FullName (inamedparam)
[golangci] protocol/grpc/request_custom_client.go#L89: protocol/grpc/request_custom_client.go#L89
Function name: invoke, Cyclomatic Complexity: 23, Halstead Volume: 3880.41, Maintainability Index: 26 (maintidx)
[golangci] protocol/grpc/request_custom_client.go#L73: protocol/grpc/request_custom_client.go#L73
Magic number: 2, in <argument> detected (mnd)
[golangci] protocol/grpc/request_custom_client.go#L64: protocol/grpc/request_custom_client.go#L64
Magic number: 3, in <condition> detected (mnd)
[golangci] protocol/grpc/request_custom_client.go#L76: protocol/grpc/request_custom_client.go#L76
Magic number: 2, in <condition> detected (mnd)