Skip to content

Commit

Permalink
fix(goctl): api/new/api.tpl (#1788)
Browse files Browse the repository at this point in the history
  • Loading branch information
fynxiu committed Apr 14, 2022
1 parent ecc3653 commit ee88abc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 {
Expand Down

0 comments on commit ee88abc

Please sign in to comment.