diff --git a/tools/goctl/api/new/api.tpl b/tools/goctl/api/new/api.tpl index 9d9898f57ad7..28be510013cf 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 {