From 258996869c19f46fccebd97292c7eeb72be65363 Mon Sep 17 00:00:00 2001 From: danaelhe <42972711+danaelhe@users.noreply.github.com> Date: Wed, 23 Aug 2023 23:54:36 -0400 Subject: [PATCH] add doc --- godo.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/godo.go b/godo.go index b69cea3b..8b4ca027 100644 --- a/godo.go +++ b/godo.go @@ -227,6 +227,8 @@ func addOptions(s string, opt interface{}) (string, error) { return origURL.String(), nil } +// configureRetryableClient will create a retryableclient with default behavior +// if no godo client is passed. It will then convert the retryableclient to a *http.Client. func configureRetryableClient(c *Client, httpClient *http.Client) *http.Client { retryableClient := retryablehttp.NewClient()