func New(r Randomizer) *UARand {
	return &UARand{
		Randomizer: r,
		UserAgents: UserAgents,
		mutex:      sync.Mutex{},
	}
}
New return UserAgent randomizer settings with default user-agents list
package uarand
import (
	"math/rand"
	"sync"
	"time"
)
var (
	Default = New(
		rand.New(
			rand.NewSource(time.Now().UnixNano()),
		),
	)
)
type Randomizer interface {
	Seed(n int64)
	Intn(n int) int
}
type UARand struct {
	Randomizer
	UserAgents []string
	mutex sync.Mutex
}
func (u *UARand) GetRandom() string {
	u.mutex.Lock()
	n := u.Intn(len(u.UserAgents))
	u.mutex.Unlock()
	return u.UserAgents[n]
}
func GetRandom() string {
	return Default.GetRandom()
}