1
0
mirror of https://github.com/redis/go-redis.git synced 2025-07-28 06:42:00 +03:00

chore: v9

This commit is contained in:
Vladimir Mihailenco
2022-06-04 17:39:21 +03:00
parent a8e56a2961
commit a18fad5bd3
66 changed files with 107 additions and 114 deletions

View File

@ -63,13 +63,13 @@ module:
go mod init github.com/my/repo
```
And then install go-redis/v8 (note _v8_ in the import; omitting it is a popular mistake):
If you are using **Redis 6**, install go-redis/**v8**:
```shell
go get github.com/go-redis/redis/v8
```
If you need **Redis 7** support, install go-redis/v9:
If you are using **Redis 7**, install **go-redis/v9**:
```shell
go get github.com/go-redis/redis/v9