func NewGores(config *Config) *Gores {
	var pool *redis.Pool
	var host string
	pool = initPool(config)
	host = config.RedisURL
	if pool == nil {
		log.Printf("ERROR Initializing Redis Pool\n")
		return nil
	}
	return &Gores{
		pool:          pool,
		watchedQueues: mapset.NewSet(),
		host:          host,
		config:        config,
	}
}
NewGores creates a new Gores instance given the pointer to config object
package gores
import (
	"encoding/json"
	"errors"
	"fmt"
	"log"
	"strconv"
	"time"
	"github.com/deckarep/golang-set"
	"github.com/garyburd/redigo/redis"
)
type Gores struct {
	pool          *redis.Pool
	watchedQueues mapset.Set
	host          string
	config        *Config
}