🔨 Remove unused imports in config and custom_errors packages

This commit is contained in:
Aykhan Shahsuvarov 2024-05-25 20:29:48 +04:00
parent 7a2558b25a
commit b9c64a3851
3 changed files with 0 additions and 5 deletions

View File

@ -5,7 +5,6 @@ import (
"os"
"time"
// "github.com/aykhans/dodo/utils"
"github.com/jedib0t/go-pretty/v6/table"
)

View File

@ -6,7 +6,6 @@ import (
"net/url"
"strings"
// "github.com/aykhans/dodo/config"
"github.com/aykhans/dodo/config"
"github.com/go-playground/validator/v10"
)

View File

@ -179,7 +179,6 @@ func sendRequest(
params,
getBodyReader(body),
)
// req.Header.Set("User-Agent", config)
req.Header = headers
setCookies(req, cookies)
client := getClient()
@ -256,10 +255,8 @@ func printProgress(wg *sync.WaitGroup, total int, message string, countSlice *[]
for {
totalCount := 0
for _, count := range *countSlice {
// println(count)
totalCount += count
}
// println(totalCount)
dodosTracker.SetValue(int64(totalCount))
if totalCount == total {
break