From cd93fa05f71c4d88c52f76d12ff3fb3b0e204bd5 Mon Sep 17 00:00:00 2001 From: "huangsimin@fusen.cn" Date: Tue, 5 Dec 2023 10:41:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E5=BA=8F=E5=88=97=E5=8C=96?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- goutils/proto_build/tpls/main_gen.tpl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/goutils/proto_build/tpls/main_gen.tpl b/goutils/proto_build/tpls/main_gen.tpl index 4809b22..02f5bf4 100644 --- a/goutils/proto_build/tpls/main_gen.tpl +++ b/goutils/proto_build/tpls/main_gen.tpl @@ -2,8 +2,9 @@ package main import ( "{{.ProjectName}}/gen/go/service" - "{{.ProjectName}}/server/logics/info_logic" - "{{.ProjectName}}/server/logics/product_logic" + {{range .StructServiceNames}} + "{{$.ProjectName}}/server/logics/{{.LogicPackageName}}" + {{- end}} "google.golang.org/grpc" )