From 6f5f2a1a57213af95a1b9ce316c4e42f09fb785a Mon Sep 17 00:00:00 2001 From: YangruiEmma Date: Fri, 29 Nov 2024 17:03:05 +0800 Subject: [PATCH] Update protobuf.md --- .../basic-feature/protocol/serialization-protocol/protobuf.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/content/zh/docs/kitex/Tutorials/basic-feature/protocol/serialization-protocol/protobuf.md b/content/zh/docs/kitex/Tutorials/basic-feature/protocol/serialization-protocol/protobuf.md index b8e7eb7e56..a2c1aa6109 100644 --- a/content/zh/docs/kitex/Tutorials/basic-feature/protocol/serialization-protocol/protobuf.md +++ b/content/zh/docs/kitex/Tutorials/basic-feature/protocol/serialization-protocol/protobuf.md @@ -23,13 +23,13 @@ Kitex 为 Protobuf 封装了更高效的传输协议,并提供了一种自定 #### 客户端 ```sh -kitex -I idl/ idl/${proto_name}.proto +kitex -I idl/ idl/${idl_name}.proto ``` #### 服务端 ```sh -kitex -service ${service_name} -I idl/ idl/${proto_name}.proto +kitex -service ${service_name} -I idl/ idl/${idl_name}.proto ``` ### 使用 gRPC 作为传输协议