From 806266524befc711aeed37807a772b66e4b1dff6 Mon Sep 17 00:00:00 2001 From: monkey Date: Sun, 22 Jan 2023 21:31:01 +0800 Subject: [PATCH] docs: updated "Installation" description in README.md Signed-off-by: monkey --- README.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index d7bec205..c9a8660d 100644 --- a/README.md +++ b/README.md @@ -53,18 +53,19 @@ module: go mod init github.com/my/repo ``` -If you are using **Redis 6**, install go-redis/**v8**: - -```shell -go get github.com/go-redis/redis/v8 -``` - If you are using **Redis 7**, install go-redis/**v9**: ```shell go get github.com/go-redis/redis/v9 ``` +You can also use the stable version go-redis/**v8** (v8 does not support redis 7): + +```shell +go get github.com/go-redis/redis/v8 +``` + + ## Quickstart ```go