Skip to content

Commit ce5d08f

Browse files
author
Runze Cui
committed
[DBS-000] init dbops redis with go redis v9.17
1 parent 0a836fb commit ce5d08f

187 files changed

Lines changed: 415 additions & 381 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Redis client for Go
22

33
[![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)
4+
[![PkgGoDev](https://pkg.go.dev/badge/gitlab.myteksi.net/dbops/Redis/v9)](https://pkg.go.dev/gitlab.myteksi.net/dbops/Redis/v9?tab=doc)
55
[![Documentation](https://img.shields.io/badge/redis-documentation-informational)](https://redis.io/docs/latest/develop/clients/go/)
6-
[![Go Report Card](https://goreportcard.com/badge/github.com/redis/go-redis/v9)](https://goreportcard.com/report/github.com/redis/go-redis/v9)
6+
[![Go Report Card](https://goreportcard.com/badge/gitlab.myteksi.net/dbops/Redis/v9)](https://goreportcard.com/report/gitlab.myteksi.net/dbops/Redis/v9)
77
[![codecov](https://codecov.io/github/redis/go-redis/graph/badge.svg?token=tsrCZKuSSw)](https://codecov.io/github/redis/go-redis)
88

99
[![Discord](https://img.shields.io/discord/697882427875393627.svg?style=social&logo=discord)](https://discord.gg/W4txy5AeKM)
@@ -48,8 +48,8 @@ in the `go.mod` to `go 1.24` in one of the next releases.
4848

4949
- [Discussions](https://github.com/redis/go-redis/discussions)
5050
- [Chat](https://discord.gg/W4txy5AeKM)
51-
- [Reference](https://pkg.go.dev/github.com/redis/go-redis/v9)
52-
- [Examples](https://pkg.go.dev/github.com/redis/go-redis/v9#pkg-examples)
51+
- [Reference](https://pkg.go.dev/gitlab.myteksi.net/dbops/Redis/v9)
52+
- [Examples](https://pkg.go.dev/gitlab.myteksi.net/dbops/Redis/v9#pkg-examples)
5353

5454
## old documentation
5555

@@ -90,7 +90,7 @@ go mod init github.com/my/repo
9090
Then install go-redis/**v9**:
9191

9292
```shell
93-
go get github.com/redis/go-redis/v9
93+
go get gitlab.myteksi.net/dbops/Redis/v9
9494
```
9595

9696
## Quickstart
@@ -100,7 +100,7 @@ import (
100100
"context"
101101
"fmt"
102102

103-
"github.com/redis/go-redis/v9"
103+
"gitlab.myteksi.net/dbops/Redis/v9"
104104
)
105105

106106
var ctx = context.Background()
@@ -173,7 +173,7 @@ rdb := redis.NewClient(&redis.Options{
173173
Example with Entra ID:
174174
```go
175175
import (
176-
"github.com/redis/go-redis/v9"
176+
"gitlab.myteksi.net/dbops/Redis/v9"
177177
"github.com/redis/go-redis-entraid"
178178
)
179179

@@ -262,7 +262,7 @@ to this specification.
262262

263263
```go
264264
import (
265-
"github.com/redis/go-redis/v9"
265+
"gitlab.myteksi.net/dbops/Redis/v9"
266266
)
267267

268268
func ExampleClient() *redis.Client {
@@ -281,8 +281,8 @@ func ExampleClient() *redis.Client {
281281

282282
```go
283283
import (
284-
"github.com/redis/go-redis/v9"
285-
"github.com/redis/go-redis/extra/redisotel/v9"
284+
"gitlab.myteksi.net/dbops/Redis/v9"
285+
"gitlab.myteksi.net/dbops/Redis/extra/redisotel/v9"
286286
"errors"
287287
)
288288

acl_commands_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package redis_test
33
import (
44
"context"
55

6-
"github.com/redis/go-redis/v9"
6+
"gitlab.myteksi.net/dbops/Redis/v9"
77

88
. "github.com/bsm/ginkgo/v2"
99
. "github.com/bsm/gomega"

adapters.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"net"
77
"time"
88

9-
"github.com/redis/go-redis/v9/internal/interfaces"
10-
"github.com/redis/go-redis/v9/push"
9+
"gitlab.myteksi.net/dbops/Redis/v9/internal/interfaces"
10+
"gitlab.myteksi.net/dbops/Redis/v9/push"
1111
)
1212

1313
// ErrInvalidCommand is returned when an invalid command is passed to ExecuteCommand.

async_handoff_integration_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ import (
88
"testing"
99
"time"
1010

11-
"github.com/redis/go-redis/v9/internal/pool"
12-
"github.com/redis/go-redis/v9/logging"
13-
"github.com/redis/go-redis/v9/maintnotifications"
11+
"gitlab.myteksi.net/dbops/Redis/v9/internal/pool"
12+
"gitlab.myteksi.net/dbops/Redis/v9/logging"
13+
"gitlab.myteksi.net/dbops/Redis/v9/maintnotifications"
1414
)
1515

1616
// mockNetConn implements net.Conn for testing

bench_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import (
1010
"testing"
1111
"time"
1212

13-
"github.com/redis/go-redis/v9"
13+
"gitlab.myteksi.net/dbops/Redis/v9"
1414
)
1515

1616
func benchmarkRedisClient(ctx context.Context, poolSize int) *redis.Client {

bitmap_commands_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package redis_test
33
import (
44
. "github.com/bsm/ginkgo/v2"
55
. "github.com/bsm/gomega"
6-
"github.com/redis/go-redis/v9"
6+
"gitlab.myteksi.net/dbops/Redis/v9"
77
)
88

99
type bitCountExpected struct {

command.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ import (
1111
"sync"
1212
"time"
1313

14-
"github.com/redis/go-redis/v9/internal"
15-
"github.com/redis/go-redis/v9/internal/hscan"
16-
"github.com/redis/go-redis/v9/internal/proto"
17-
"github.com/redis/go-redis/v9/internal/util"
14+
"gitlab.myteksi.net/dbops/Redis/v9/internal"
15+
"gitlab.myteksi.net/dbops/Redis/v9/internal/hscan"
16+
"gitlab.myteksi.net/dbops/Redis/v9/internal/proto"
17+
"gitlab.myteksi.net/dbops/Redis/v9/internal/util"
1818
)
1919

2020
// keylessCommands contains Redis commands that have empty key specifications (9th slot empty)

command_digest_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"fmt"
66
"testing"
77

8-
"github.com/redis/go-redis/v9/internal/proto"
8+
"gitlab.myteksi.net/dbops/Redis/v9/internal/proto"
99
)
1010

1111
func TestDigestCmd(t *testing.T) {

command_recorder_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"strings"
66
"sync"
77

8-
"github.com/redis/go-redis/v9"
8+
"gitlab.myteksi.net/dbops/Redis/v9"
99
)
1010

1111
// commandRecorder records the last N commands executed by a Redis client.

command_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"errors"
55
"time"
66

7-
"github.com/redis/go-redis/v9"
7+
"gitlab.myteksi.net/dbops/Redis/v9"
88

99
. "github.com/bsm/ginkgo/v2"
1010
. "github.com/bsm/gomega"

0 commit comments

Comments
 (0)