Skip to content

Commit b9d5874

Browse files
committed
Fixed an ambiguity in the docs
1 parent ab398e0 commit b9d5874

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

requester.go

+2-3
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,8 @@ type Requester struct {
120120
// Defaults to http.DefaultClient.
121121
Doer Doer
122122

123-
// Middleware wraps the Doer. Middleware will be invoked in the order
124-
// it is in this slice: the first middleware in the slice will be
125-
// the innermost middleware.
123+
// Middleware wraps the Doer. The middleware is ordered from outermost
124+
// to innermost.
126125
Middleware []Middleware
127126

128127
// Unmarshaler will be used by the Receive methods to unmarshal

0 commit comments

Comments
 (0)