From ba38d823525f2807d1b1ef4a8b4587fa7ce8cdac Mon Sep 17 00:00:00 2001 From: Xince <96606103+xince-fun@users.noreply.github.com> Date: Fri, 13 Sep 2024 13:38:28 +0800 Subject: [PATCH] fix: fix service template generate error in kitex error (#217) --- tpl/kitex/server/standard/service.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tpl/kitex/server/standard/service.yaml b/tpl/kitex/server/standard/service.yaml index 2a9274be..f7d63429 100644 --- a/tpl/kitex/server/standard/service.yaml +++ b/tpl/kitex/server/standard/service.yaml @@ -52,7 +52,7 @@ body: |- return nil } - {{else -}} + {{else}} // New{{.Name}}Service new {{.Name}}Service func New{{.Name}}Service(ctx context.Context) *{{.Name}}Service {