From 60291baeec560fe2d88fc767328d402f0a60ed33 Mon Sep 17 00:00:00 2001 From: tsinghuacoder Date: Wed, 24 Jul 2024 16:45:55 +0800 Subject: [PATCH] chore: fix some comments Signed-off-by: tsinghuacoder --- tools/goctl/rpc/generator/gen.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/goctl/rpc/generator/gen.go b/tools/goctl/rpc/generator/gen.go index 3140d997c35bc..c9a2e7c8a7434 100644 --- a/tools/goctl/rpc/generator/gen.go +++ b/tools/goctl/rpc/generator/gen.go @@ -10,9 +10,9 @@ import ( ) type ZRpcContext struct { - // Sre is the source file of the proto. + // Src is the source file of the proto. Src string - // ProtoCmd is the command to generate proto files. + // ProtocCmd is the command to generate proto files. ProtocCmd string // ProtoGenGrpcDir is the directory to store the generated proto files. ProtoGenGrpcDir string