21 lines
326 B
Go
Raw Normal View History

2025-02-24 16:48:20 +08:00
package cachingsvc
import (
"context"
cachingdomain "github.com/ardeman/project-legalgo-go/internal/domain/caching"
"github.com/redis/go-redis/v9"
)
type impl struct {
redisClient *redis.Client
}
type implIntf interface {
Set(context.Context, cachingdomain.CacheSpec) error
}
func New() implIntf {
return &impl{}
}