From 91e773aa8cbd31828d2281a77be70f1c4c3156c9 Mon Sep 17 00:00:00 2001 From: duanhf2012 <6549168@qq.com> Date: Mon, 6 Mar 2023 15:57:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A5=E5=85=85=E8=AF=B4=E6=98=8ERPC?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E5=90=8D=E7=9A=84=E8=A7=84=E8=8C=83=E6=94=AF?= =?UTF-8?q?=E6=8C=81RPCFunctionName?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 4f4cc2a..2ed26b4 100644 --- a/README.md +++ b/README.md @@ -667,6 +667,7 @@ type InputData struct { B int } +// 注意RPC函数名的格式必需为RPC_FunctionName或者是RPCFunctionName,如下的RPC_Sum也可以写成RPCSum func (slf *TestService6) RPC_Sum(input *InputData,output *int) error{ *output = input.A+input.B return nil