Skip to content

Commit 7621ec5

Browse files
committed
📝 Update comment.
1 parent baac01c commit 7621ec5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ package user
7878
7979
import "time"
8080
81-
// ReposGet is the structure of the HTTP Response Body.
81+
// ReposGet is the struct of the HTTP Response Body.
8282
//
8383
// Status: 200 OK
8484
// Request: GET https://api.github.com/users/github/repos

src/run.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,11 @@ function buildContent(go, path, comment, paramType) {
151151
content += `import "time"\n\n`
152152
}
153153
if (paramType === "body") {
154-
content += `// ${go.split(" ")[1]} is the structure of the the HTTP Request Body Parameter.\n//`
154+
content += `// ${go.split(" ")[1]} is the struct of the the HTTP Request Body Parameter.\n//`
155155
} else if (paramType === "query") {
156-
content += `// ${go.split(" ")[1]} is the structure of the HTTP Request Query Parameter.\n//`
156+
content += `// ${go.split(" ")[1]} is the struct of the HTTP Request Query Parameter.\n//`
157157
}else{
158-
content += `// ${go.split(" ")[1]} is the structure of the HTTP Response Body.\n//`
158+
content += `// ${go.split(" ")[1]} is the struct of the HTTP Response Body.\n//`
159159
}
160160
content += comment
161161
content += go

0 commit comments

Comments
 (0)