update misspell and gofmt

This commit is contained in:
Ming Deng
2020-12-14 13:52:26 +08:00
parent d4da82ef77
commit 385e1d390f
11 changed files with 31 additions and 21 deletions

View File

@@ -553,7 +553,7 @@ func (b *BeegoHTTPRequest) doRequest(ctx context.Context) (resp *http.Response,
// retries default value is 0, it will run once.
// retries equal to -1, it will run forever until success
// retries is setted, it will retries fixed times.
// Sleeps for a 400ms inbetween calls to reduce spam
// Sleeps for a 400ms between calls to reduce spam
for i := 0; b.setting.Retries == -1 || i <= b.setting.Retries; i++ {
resp, err = client.Do(b.req)
if err == nil {