Skip to content

Commit f802e0f

Browse files
committed
Fix typos in documentation
1 parent 09cbae5 commit f802e0f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

doc.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ To make a web request, parse the response as json and reformat it in yaml:
77
88
please get http://my.api.com/things | please parse -i json -o yaml
99
10-
To listen for a web request on port 8001 and reply "Hello, world":
10+
To listen for a web request on port 8001 and reply "Hello, world" with a 200 status:
1111
12-
echo "Hello, world" | please respond :8000
12+
echo "Hello, world" | please respond 200 :8001
1313
*/
1414
package main

util/util.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import (
1212
"strings"
1313
)
1414

15-
// CreateRequest performs an HTTP request based on the information provided
15+
// MakeRequest performs an HTTP request based on the information provided
1616
func MakeRequest(method string, url string, input io.Reader, headersIncluded bool) (*http.Response, error) {
1717
var req *http.Request
1818
var headers map[string][]string

0 commit comments

Comments
 (0)