Skip to content

Commit 7b7a04f

Browse files
committed
Fix doc comment
1 parent 9051f72 commit 7b7a04f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: pkg/uptimerobot.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ type HTTPClient interface {
2828
Do(req *http.Request) (*http.Response, error)
2929
}
3030

31-
// Client represents an UptimeRobot client. Setting the Debug flag to true will
32-
// cause the client to print out the API requests it would make, without
33-
// actually making them.
31+
// Client represents an UptimeRobot client. If the Debug field is set to
32+
// an io.Writer, then the client will dump API requests to it instead of
33+
// calling the real API.
3434
type Client struct {
3535
apiKey string
3636
http HTTPClient

0 commit comments

Comments
 (0)