func NewRedisByAddr(add string) *Redis {

	return &Redis{
		Client: redis.NewClient(&redis.Options{Addr: add}),
	}
}
// For use by testing with miniredis
// TODO: Try mocking Redis instead?
// https://github.com/go-redis/redis/issues/332
For use by testing with miniredis
TODO: Try mocking Redis instead.
// For use by testing with miniredis // TODO : Try mocking Redis instead? // https : // github . com / go - redis / redis / issues / 332
func NewRedisByAddr(add string) *Redis {
	return &Redis{
		Client: redis.NewClient(&redis.Options{Addr: add}),
	}
}
func NewRedisByAddr ( add string ) * Redis { return & Redis { Client : redis . NewClient ( & redis . Options { Addr : add } ) , } }
For use by testing with miniredis
TODO: Try mocking Redis instead.
For use by testing with miniredis TODO : Try mocking Redis instead .