Skip to content

Commit

Permalink
typo in example name
Browse files Browse the repository at this point in the history
  • Loading branch information
umputun committed Dec 20, 2020
1 parent 1e202b1 commit 00fe733
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requester_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ func ExampleRequester_Client() {
log.Printf("status: %s", resp.Status)
}

func ExampleRequester_WithleWith() {
func ExampleRequester_With() {
rq1 := New(http.Client{Timeout: 3 * time.Second}, middleware.JSON) // make a requester with JSON middleware

// make another requester inherited from rq1 with extra middlewares
Expand Down

0 comments on commit 00fe733

Please sign in to comment.