From ffacae89eb726abba822e5cce78aaf835ac93eea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E7=99=BB=E5=AF=8C?= <757431363@qq.com> Date: Sat, 8 Apr 2023 21:36:45 +0800 Subject: [PATCH] fix:multipule flag client go package name (#3104) Co-authored-by: lidengfu --- tools/goctl/rpc/generator/gencall.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/goctl/rpc/generator/gencall.go b/tools/goctl/rpc/generator/gencall.go index d5e93e9f..060877cd 100644 --- a/tools/goctl/rpc/generator/gencall.go +++ b/tools/goctl/rpc/generator/gencall.go @@ -108,7 +108,7 @@ func (g *Generator) genCallGroup(ctx DirContext, proto parser.Proto, cfg *conf.C "name": callFilename, "alias": strings.Join(aliasKeys, pathx.NL), "head": head, - "filePackage": dir.Base, + "filePackage": childDir, "pbPackage": pbPackage, "protoGoPackage": protoGoPackage, "serviceName": serviceName,