From 4673aa1219e2e6cbc8cc916327781e2ae5c62741 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B0=B4=E7=85=AE=E7=89=9B=E8=82=89?= Date: Mon, 17 May 2021 11:19:04 +0800 Subject: [PATCH] Update ch4-01-rpc-intro.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修正语法错误 --- ch4-rpc/ch4-01-rpc-intro.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch4-rpc/ch4-01-rpc-intro.md b/ch4-rpc/ch4-01-rpc-intro.md index 84fc2f3..c033b86 100644 --- a/ch4-rpc/ch4-01-rpc-intro.md +++ b/ch4-rpc/ch4-01-rpc-intro.md @@ -73,7 +73,7 @@ func main() { ```go const HelloServiceName = "path/to/pkg.HelloService" -type HelloServiceInterface = interface { +type HelloServiceInterface interface { Hello(request string, reply *string) error }