chore: build
This commit is contained in:
@@ -59,7 +59,6 @@ func (m *tomTomKeyManager) rotate(fromIdx int) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Do exécute la requête en rotant automatiquement sur 403/429.
|
// Do exécute la requête en rotant automatiquement sur 403/429.
|
||||||
// buildReq doit construire une nouvelle *http.Request pour la clé donnée.
|
|
||||||
func (m *tomTomKeyManager) Do(client *http.Client, buildReq func(key string) (*http.Request, error)) (*http.Response, error) {
|
func (m *tomTomKeyManager) Do(client *http.Client, buildReq func(key string) (*http.Request, error)) (*http.Response, error) {
|
||||||
n := len(m.keys)
|
n := len(m.keys)
|
||||||
if n == 0 {
|
if n == 0 {
|
||||||
|
|||||||
Reference in New Issue
Block a user