A Go library for managing cache with Redis.
go get github.com/PrimaKu/cache
cacheManager, err := cache.NewCacheManager(redisOptions) // *redis.Options
if err != nil {
log.Fatalf("Failed to start caching with: %v", err)
}
data := cacheManager.Get(context, "DATA_KEY")
err := cacheManager.Set(context, "DATA_KEY", "value to cache")
err := cacheManager.Del(context, "DATA_KEY")