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 {