Skip to content

Commit

Permalink
change module name to support v2 (#175)
Browse files Browse the repository at this point in the history
  • Loading branch information
nipeharefa authored Jul 25, 2022
1 parent d60cb3a commit ef2058b
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 11 deletions.
5 changes: 3 additions & 2 deletions examples/redisearch_auth/redisearch_auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ package main

import (
"fmt"
"github.com/RediSearch/redisearch-go/redisearch"
"github.com/gomodule/redigo/redis"
"log"
"time"

"github.com/RediSearch/redisearch-go/v2/redisearch"
"github.com/gomodule/redigo/redis"
)

// exemplifies the NewClientFromPool function
Expand Down
3 changes: 2 additions & 1 deletion examples/redisearch_geo/redisearch_geo.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@ package main

import (
"fmt"
"github.com/RediSearch/redisearch-go/redisearch"
"log"

"github.com/RediSearch/redisearch-go/v2/redisearch"
)

/**
Expand Down
3 changes: 2 additions & 1 deletion examples/redisearch_quickstart/redisearch_quickstart.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package main

import (
"fmt"
"github.com/RediSearch/redisearch-go/redisearch"
"log"
"time"

"github.com/RediSearch/redisearch-go/v2/redisearch"
)

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"time"

"github.com/RediSearch/redisearch-go/redisearch"
"github.com/RediSearch/redisearch-go/v2/redisearch"
)

/**
Expand Down
5 changes: 3 additions & 2 deletions examples/redisearch_tls_client/redisearch_tls_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ import (
"crypto/x509"
"flag"
"fmt"
"github.com/RediSearch/redisearch-go/redisearch"
"github.com/gomodule/redigo/redis"
"io/ioutil"
"log"
"os"
"time"

"github.com/RediSearch/redisearch-go/v2/redisearch"
"github.com/gomodule/redigo/redis"
)

var (
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/RediSearch/redisearch-go
module github.com/RediSearch/redisearch-go/v2

go 1.16

Expand Down
2 changes: 1 addition & 1 deletion redisearch/example_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"os"
"time"

"github.com/RediSearch/redisearch-go/redisearch"
"github.com/RediSearch/redisearch-go/v2/redisearch"
"github.com/gomodule/redigo/redis"
)

Expand Down
5 changes: 3 additions & 2 deletions redisearch/example_schema_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ package redisearch_test

import (
"fmt"
"github.com/gomodule/redigo/redis"
"log"
"time"

"github.com/RediSearch/redisearch-go/redisearch"
"github.com/gomodule/redigo/redis"

"github.com/RediSearch/redisearch-go/v2/redisearch"
)

// exemplifies the CreateIndex function with a temporary index specification
Expand Down

0 comments on commit ef2058b

Please sign in to comment.