Skip to content

Commit

Permalink
added comment on Log field
Browse files Browse the repository at this point in the history
  • Loading branch information
matryer committed Dec 28, 2017
1 parent 5be86e0 commit 5c01506
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions graphql.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ type Client struct {
endpoint string
httpClient *http.Client

// Log is called with various debug information.
// To log to standard out, use:
// client.Log = func(s string) { log.Println(s) }
Log func(s string)
}

Expand Down

0 comments on commit 5c01506

Please sign in to comment.