|
1 | 1 | # Redis client for Go |
2 | 2 |
|
3 | | -[](https://github.com/go-redis/redis/actions) |
4 | | -[](https://pkg.go.dev/github.com/go-redis/redis/v8?tab=doc) |
| 3 | +[](https://github.com/redis/go-redis/actions) |
| 4 | +[](https://pkg.go.dev/github.com/redis/go-redis/v9?tab=doc) |
5 | 5 | [](https://redis.uptrace.dev/) |
6 | 6 | [](https://discord.gg/rWtp5Aj) |
7 | 7 |
|
8 | 8 | > go-redis is brought to you by :star: [**uptrace/uptrace**](https://github.com/uptrace/uptrace). |
9 | 9 | > Uptrace is an open-source APM tool that supports distributed tracing, metrics, and logs. You can |
10 | 10 | > use it to monitor applications and set up automatic alerts to receive notifications via email, |
11 | | -> Slack, Telegram, and others. Star it as well! |
| 11 | +> Slack, Telegram, and others. |
| 12 | +> |
| 13 | +> See [OpenTelemetry](example/otel) example which demonstrates how you can use Uptrace to monitor |
| 14 | +> go-redis. |
12 | 15 |
|
13 | 16 | ## Resources |
14 | 17 |
|
15 | 18 | - [Documentation](https://redis.uptrace.dev) |
16 | | -- [Discussions](https://github.com/go-redis/redis/discussions) |
| 19 | +- [Discussions](https://github.com/redis/go-redis/discussions) |
17 | 20 | - [Chat](https://discord.gg/rWtp5Aj) |
18 | | -- [Reference](https://pkg.go.dev/github.com/go-redis/redis/v8?tab=doc) |
19 | | -- [Examples](https://pkg.go.dev/github.com/go-redis/redis/v8?tab=doc#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) |
20 | 23 |
|
21 | 24 | ## Ecosystem |
22 | 25 |
|
@@ -50,24 +53,18 @@ module: |
50 | 53 | go mod init github.com/my/repo |
51 | 54 | ``` |
52 | 55 |
|
53 | | -If you are using **Redis 6**, install go-redis/**v8**: |
| 56 | +Then install go-redis/**v9**: |
54 | 57 |
|
55 | 58 | ```shell |
56 | | -go get github.com/go-redis/redis/v8 |
57 | | -``` |
58 | | - |
59 | | -If you are using **Redis 7**, install go-redis/**v9**: |
60 | | - |
61 | | -```shell |
62 | | -go get github.com/go-redis/redis/v9 |
| 59 | +go get github.com/redis/go-redis/v9 |
63 | 60 | ``` |
64 | 61 |
|
65 | 62 | ## Quickstart |
66 | 63 |
|
67 | 64 | ```go |
68 | 65 | import ( |
69 | 66 | "context" |
70 | | - "github.com/go-redis/redis/v8" |
| 67 | + "github.com/redis/go-redis/v9" |
71 | 68 | "fmt" |
72 | 69 | ) |
73 | 70 |
|
@@ -177,6 +174,6 @@ go test |
177 | 174 |
|
178 | 175 | Thanks to all the people who already contributed! |
179 | 176 |
|
180 | | -<a href="https://github.com/go-redis/redis/graphs/contributors"> |
181 | | - <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" /> |
182 | 179 | </a> |
0 commit comments