Skip to content

Commit

Permalink
📝 Update comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
nkmr-jp committed Nov 24, 2023
1 parent baac01c commit 7621ec5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ package user
import "time"
// ReposGet is the structure of the HTTP Response Body.
// ReposGet is the struct of the HTTP Response Body.
//
// Status: 200 OK
// Request: GET https://api.github.com/users/github/repos
Expand Down
6 changes: 3 additions & 3 deletions src/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,11 +151,11 @@ function buildContent(go, path, comment, paramType) {
content += `import "time"\n\n`
}
if (paramType === "body") {
content += `// ${go.split(" ")[1]} is the structure of the the HTTP Request Body Parameter.\n//`
content += `// ${go.split(" ")[1]} is the struct of the the HTTP Request Body Parameter.\n//`
} else if (paramType === "query") {
content += `// ${go.split(" ")[1]} is the structure of the HTTP Request Query Parameter.\n//`
content += `// ${go.split(" ")[1]} is the struct of the HTTP Request Query Parameter.\n//`
}else{
content += `// ${go.split(" ")[1]} is the structure of the HTTP Response Body.\n//`
content += `// ${go.split(" ")[1]} is the struct of the HTTP Response Body.\n//`
}
content += comment
content += go
Expand Down

0 comments on commit 7621ec5

Please sign in to comment.