Skip to content

Commit f8cdf81

Browse files
authored
fix config docs (#75)
fix docs
1 parent 84fc0bf commit f8cdf81

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

config.go

+2-4
Original file line numberDiff line numberDiff line change
@@ -79,14 +79,12 @@ type Config struct {
7979

8080
// A function called by the client to get the current time, `time.Now` is
8181
// used by default.
82-
// This field is not exported and only exposed internally to let unit tests
83-
// mock the current time.
82+
// This field is not exported and only exposed internally to control concurrency.
8483
now func() time.Time
8584

8685
// The maximum number of goroutines that will be spawned by a client to send
8786
// requests to the backend API.
88-
// This field is not exported and only exposed internally to let unit tests
89-
// mock the current time.
87+
// This field is not exported and only exposed internally to control concurrency.
9088
maxConcurrentRequests int
9189
}
9290

0 commit comments

Comments
 (0)