From 6de4577a008b77e4e557c87f304727c68eacae44 Mon Sep 17 00:00:00 2001 From: Zz <2631992879@qq.com> Date: Tue, 16 Apr 2024 15:02:35 +0800 Subject: [PATCH] fix: word spelling error (#1057) --- .../Tutorials/advanced-feature/generic-call/basic_usage.md | 2 +- .../Tutorials/advanced-feature/generic-call/basic_usage.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/content/en/docs/kitex/Tutorials/advanced-feature/generic-call/basic_usage.md b/content/en/docs/kitex/Tutorials/advanced-feature/generic-call/basic_usage.md index 9f13466142..84c58c17c6 100644 --- a/content/en/docs/kitex/Tutorials/advanced-feature/generic-call/basic_usage.md +++ b/content/en/docs/kitex/Tutorials/advanced-feature/generic-call/basic_usage.md @@ -386,7 +386,7 @@ func main() { svr := genericserver.NewServer(&GenericServiceImpl{}, g) err := svr.Run() if err != nil { - panic(err) + panic(err) } } diff --git a/content/zh/docs/kitex/Tutorials/advanced-feature/generic-call/basic_usage.md b/content/zh/docs/kitex/Tutorials/advanced-feature/generic-call/basic_usage.md index 6b63b644d0..d9fc6ea752 100644 --- a/content/zh/docs/kitex/Tutorials/advanced-feature/generic-call/basic_usage.md +++ b/content/zh/docs/kitex/Tutorials/advanced-feature/generic-call/basic_usage.md @@ -365,7 +365,7 @@ func main(){ #### 服务端 -二进制泛化调用的客户端和服务端**并不是配套**使用的,客户端只要传入**正确的 Trift 二进制编码格式**的参数,可以请求普通 Thrift 接口服务。 +二进制泛化调用的客户端和服务端**并不是配套**使用的,客户端只要传入**正确的 Thrift 二进制编码格式**的参数,可以请求普通 Thrift 接口服务。 二进制泛化 Server 只支持 Framed 或 TTHeader 请求,不支持 Bufferd Binary,需要 Client 通过 Option 指定,如:`client.WithTransportProtocol(transport.Framed)`。 @@ -382,7 +382,7 @@ func main() { svr := genericserver.NewServer(&GenericServiceImpl{}, g) err := svr.Run() if err != nil { - panic(err) + panic(err) } }