func (configs *Configs) GetWorkersCount() int {
	if configs.WorkersCount == 0 {
		return runtime.GOMAXPROCS(0)
	}
	return configs.WorkersCount
}
GetWorkersCount returns the number of workers as the number
of available CPUs by default if not provided
package goscrape
import (
	"log"
	"net/http"
	"runtime"
	"time"
)
type Configs struct {
	StartUrls []string
	Request http.Request
	WorkersCount int
	RetryDuration time.Duration
	RetryMaxCount uint8
}
func (configs *Configs) GetRequest() http.Request {
	if configs.Request.Method == "" {
		request, err := http.NewRequest("GET", "", nil)
		if err != nil {
			log.Println("Could not create request")
		}
		return *request
	}
	return configs.Request
}