소스 검색

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 {