Skip to content

Commit c54f99b

Browse files
author
Pedro De Brito
committed
Fix typo in comments
1 parent ea8111c commit c54f99b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

request.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,12 +141,12 @@ func createRequest(params Params) (*http.Request, error) {
141141
return req, nil
142142
}
143143

144-
// Get is a convience wrapper for "Do" to execute GET requests
144+
// Get is a convenience wrapper for "Do" to execute GET requests
145145
func Get(url string, responseBody interface{}) error {
146146
return Do(Params{Method: http.MethodGet, URL: url}, responseBody)
147147
}
148148

149-
// Post is a convience wrapper for "Do" to execute POST requests
149+
// Post is a convenience wrapper for "Do" to execute POST requests
150150
func Post(url string, requestBody interface{}, responseBody interface{}) error {
151151
return Do(Params{Method: http.MethodPost, URL: url, Body: requestBody}, responseBody)
152152
}

0 commit comments

Comments
 (0)