From bd0c5fbbc21a01602cf2331e5c4b6646c969280c Mon Sep 17 00:00:00 2001 From: Vincent Composieux Date: Tue, 15 Oct 2019 09:03:05 +0200 Subject: [PATCH] fix(README): typo in code example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1bde555..2b715ae 100644 --- a/README.md +++ b/README.md @@ -126,7 +126,7 @@ redisClient := redis.NewClient(&redis.Options{Addr: "127.0.0.1:6379"}) // Initialize stores ristrettoStore := store.NewRistretto(ristrettoCache, nil) -redisStore := store.NewRedis(redisClient, &cache.Optiobs{Expiration: 5*time.Second}) +redisStore := store.NewRedis(redisClient, &cache.Options{Expiration: 5*time.Second}) // Initialize chained cache cacheManager := cache.NewChain(