We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents fed47ed + a3b49f5 commit 7c2b1c3Copy full SHA for 7c2b1c3
a2r/call_v2.go
@@ -9,7 +9,7 @@ import (
9
"google.golang.org/grpc"
10
)
11
12
-func CallV2[A, B any](rpc func(ctx context.Context, req *A, options ...grpc.CallOption) (*B, error), c *gin.Context, opts ...*Option[A, B]) {
+func CallV2[A, B any](c *gin.Context, rpc func(ctx context.Context, req *A, options ...grpc.CallOption) (*B, error), opts ...*Option[A, B]) {
13
req, err := ParseRequestNotCheck[A](c)
14
if err != nil {
15
apiresp.GinError(c, err)
0 commit comments