Skip to content

Commit 5ca5740

Browse files
authored
Merge pull request redis#2360 from monkey92t/compatible
docs: updated "Installation" description in README.md
2 parents 0b709c7 + 8062665 commit 5ca5740

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,19 @@ module:
5353
go mod init github.com/my/repo
5454
```
5555

56-
If you are using **Redis 6**, install go-redis/**v8**:
56+
If you are using **Redis 7**, install go-redis/**v9**:
5757

5858
```shell
59-
go get github.com/go-redis/redis/v8
59+
go get github.com/go-redis/redis/v9
6060
```
6161

62-
If you are using **Redis 7**, install go-redis/**v9**:
62+
You can also use the stable version go-redis/**v8** (v8 does not support redis 7):
6363

6464
```shell
65-
go get github.com/go-redis/redis/v9
65+
go get github.com/go-redis/redis/v8
6666
```
6767

68+
6869
## Quickstart
6970

7071
```go

0 commit comments

Comments
 (0)