func (stat *Stat) Get() int64 {
	conn := stat.gores.pool.Get()
	data, err := conn.Do("GET", stat.key)
	if err != nil || data == nil {
		return 0
	}
	res, _ := strconv.Atoi(string(data.([]byte)))
	return int64(res)
}
Get retrieves the statistic of the given queue
package gores
import (
	"fmt"
	"log"
	"strconv"
)
type Stat struct {
	name  string
	key   string
	gores *Gores
}
func NewStat(name string, gores *Gores) *Stat {
	return &Stat{
		name:  name,
		key:   fmt.Sprintf(statPrefix, name),
		gores: gores,
	}
}