From ee88abce14a0d001c099c46b7d77a25bee0c8a62 Mon Sep 17 00:00:00 2001 From: Fyn <53678344+fynxiu@users.noreply.github.com> Date: Thu, 14 Apr 2022 23:43:48 +0800 Subject: [PATCH] fix(goctl): api/new/api.tpl (#1788) --- tools/goctl/api/new/api.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/goctl/api/new/api.tpl b/tools/goctl/api/new/api.tpl index 9d9898f5..28be5100 100644 --- a/tools/goctl/api/new/api.tpl +++ b/tools/goctl/api/new/api.tpl @@ -1,9 +1,9 @@ type Request { - Name string ` + "`" + `path:"name,options=you|me"` + "`" + ` + Name string `path:"name,options=you|me"` } type Response { - Message string ` + "`" + `json:"message"` + "`" + ` + Message string `json:"message"` } service {{.name}}-api {