mirror of
https://github.com/aykhans/dodo.git
synced 2025-04-18 18:39:43 +00:00
🔨 Remove unused imports in config and custom_errors packages
This commit is contained in:
parent
7a2558b25a
commit
b9c64a3851
@ -5,7 +5,6 @@ import (
|
||||
"os"
|
||||
"time"
|
||||
|
||||
// "github.com/aykhans/dodo/utils"
|
||||
"github.com/jedib0t/go-pretty/v6/table"
|
||||
)
|
||||
|
||||
|
@ -6,7 +6,6 @@ import (
|
||||
"net/url"
|
||||
"strings"
|
||||
|
||||
// "github.com/aykhans/dodo/config"
|
||||
"github.com/aykhans/dodo/config"
|
||||
"github.com/go-playground/validator/v10"
|
||||
)
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user