فهرست منبع

fix(goctl): api/new/api.tpl (#1788)

Fyn 3 سال پیش
والد
کامیت
ee88abce14
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      tools/goctl/api/new/api.tpl

+ 2 - 2
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 {