recipes2/internal/cache_provider/redis/redis.go

14 lines
140 B
Go
Raw Normal View History

2024-01-16 21:10:29 +02:00
package redis
import (
"github.com/redis/go-redis/v9"
)
type Cache struct {
rdb *redis.Client
}
2024-01-18 18:48:27 +02:00
func New() *Cache {
return &Cache{}
2024-01-16 21:10:29 +02:00
}