Skip to content

Commit 22e9696

Browse files
committed
tweak
1 parent 5b1523c commit 22e9696

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

graphql.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ type Client struct {
4848
httpClient *http.Client
4949
useMultipartForm bool
5050

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
5252
closeReq bool
5353

5454
// Log is called with various debug information.
@@ -239,11 +239,12 @@ func UseMultipartForm() ClientOption {
239239
}
240240

241241
//ImmediatelyCloseReqBody will close the req body immediately after each request body is ready
242-
func ImmediatelyCloseReqBody() ClientOption{
242+
func ImmediatelyCloseReqBody() ClientOption {
243243
return func(client *Client) {
244244
client.closeReq = true
245245
}
246246
}
247+
247248
// ClientOption are functions that are passed into NewClient to
248249
// modify the behaviour of the Client.
249250
type ClientOption func(*Client)

0 commit comments

Comments
 (0)