11# Redis client for Go
22
3- [ ![ build workflow] ( https://github.com/go-redis/redis/ actions/workflows/build.yml/badge.svg )] ( https://github.com/go- redis/redis/actions )
4- [ ![ PkgGoDev] ( https://pkg.go.dev/badge/github.com/go-redis/redis/v8 )] ( https://pkg.go.dev/github.com/go-redis/redis/v8 ?tab=doc )
3+ [ ![ build workflow] ( https://github.com/redis/ go-redis/actions/workflows/build.yml/badge.svg )] ( https://github.com/redis/go- redis/actions )
4+ [ ![ PkgGoDev] ( https://pkg.go.dev/badge/github.com/redis/ go-redis/v9 )] ( https://pkg.go.dev/github.com/redis/ go-redis/v9 ?tab=doc )
55[ ![ Documentation] ( https://img.shields.io/badge/redis-documentation-informational )] ( https://redis.uptrace.dev/ )
66[ ![ Chat] ( https://discordapp.com/api/guilds/752070105847955518/widget.png )] ( https://discord.gg/rWtp5Aj )
77
1616## Resources
1717
1818- [ Documentation] ( https://redis.uptrace.dev )
19- - [ Discussions] ( https://github.com/go- redis/redis/discussions )
19+ - [ Discussions] ( https://github.com/redis/go- redis/discussions )
2020- [ Chat] ( https://discord.gg/rWtp5Aj )
21- - [ Reference] ( https://pkg.go.dev/github.com/go- redis/redis/v9 )
22- - [ Examples] ( https://pkg.go.dev/github.com/go- redis/redis/v9#pkg-examples )
21+ - [ Reference] ( https://pkg.go.dev/github.com/redis/go- redis/v9 )
22+ - [ Examples] ( https://pkg.go.dev/github.com/redis/go- redis/v9#pkg-examples )
2323
2424## Ecosystem
2525
2626- [ Redis Mock] ( https://github.com/go-redis/redismock )
2727- [ Distributed Locks] ( https://github.com/bsm/redislock )
2828- [ Redis Cache] ( https://github.com/go-redis/cache )
29- - [ Rate limiting] ( https://github.com/go- redis/redis_rate )
29+ - [ Rate limiting] ( https://github.com/redis/go- redis_rate )
3030
3131This client also works with [ Kvrocks] ( https://github.com/apache/incubator-kvrocks ) , a distributed
3232key value NoSQL database that uses RocksDB as storage engine and is compatible with Redis protocol.
@@ -53,25 +53,18 @@ module:
5353go mod init github.com/my/repo
5454```
5555
56- If you are using ** Redis 7 ** , install go-redis/** v9** :
56+ Then install go-redis/** v9** :
5757
5858``` shell
59- go get github.com/go- redis/redis/v9
59+ go get github.com/redis/go- redis/v9
6060```
6161
62- You can also use the stable version go-redis/** v8** (v8 does not support redis 7):
63-
64- ``` shell
65- go get github.com/go-redis/redis/v8
66- ```
67-
68-
6962## Quickstart
7063
7164``` go
7265import (
7366 " context"
74- " github.com/go-redis/redis/v8 "
67+ " github.com/redis/ go-redis/v9 "
7568 " fmt"
7669)
7770
@@ -181,6 +174,6 @@ go test
181174
182175Thanks to all the people who already contributed!
183176
184- <a href =" https://github.com/go- redis/redis/graphs/contributors " >
185- <img src =" https://contributors-img.web.app/image?repo=go- redis/redis " />
177+ <a href =" https://github.com/redis/go- redis/graphs/contributors " >
178+ <img src =" https://contributors-img.web.app/image?repo=redis/go- redis " />
186179</a >
0 commit comments