File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ type Client struct {
48
48
httpClient * http.Client
49
49
useMultipartForm bool
50
50
51
- //closeReq will close the request body immediately allowing for reuse of client
51
+ // closeReq will close the request body immediately allowing for reuse of client
52
52
closeReq bool
53
53
54
54
// Log is called with various debug information.
@@ -239,11 +239,12 @@ func UseMultipartForm() ClientOption {
239
239
}
240
240
241
241
//ImmediatelyCloseReqBody will close the req body immediately after each request body is ready
242
- func ImmediatelyCloseReqBody () ClientOption {
242
+ func ImmediatelyCloseReqBody () ClientOption {
243
243
return func (client * Client ) {
244
244
client .closeReq = true
245
245
}
246
246
}
247
+
247
248
// ClientOption are functions that are passed into NewClient to
248
249
// modify the behaviour of the Client.
249
250
type ClientOption func (* Client )
You can’t perform that action at this time.
0 commit comments