From bebee12c80b8ee81125dfcf801b83423951df6b4 Mon Sep 17 00:00:00 2001 From: Jeremiah VALERIE Date: Sun, 14 Jun 2020 12:45:37 +0200 Subject: [PATCH] Add ctx declaration in readme --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index fa31478..d2445a0 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,13 @@ import "github.com/go-redis/redis/v8" ## Quickstart ```go +import ( + "context" + "github.com/go-redis/redis/v8" +) + +var ctx = context.Background() + func ExampleNewClient() { rdb := redis.NewClient(&redis.Options{ Addr: "localhost:6379",