mirror of
https://github.com/eosswedenorg/thalos
synced 2026-06-18 04:40:03 +02:00
merge api/redis_common and api/redis_pubsub to api/redis
This commit is contained in:
parent
102045e47e
commit
a8bac16aa9
9 changed files with 10 additions and 15 deletions
|
|
@ -1,4 +1,4 @@
|
|||
package redis_common
|
||||
package redis
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package redis_common
|
||||
package redis
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package redis_common
|
||||
package redis
|
||||
|
||||
import (
|
||||
"strings"
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package redis_common
|
||||
package redis
|
||||
|
||||
import "testing"
|
||||
|
||||
|
|
@ -1,10 +1,9 @@
|
|||
package redis_pubsub
|
||||
package redis
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"thalos/api"
|
||||
. "thalos/api/redis_common"
|
||||
|
||||
"github.com/go-redis/redis/v8"
|
||||
)
|
||||
|
|
@ -1,10 +1,9 @@
|
|||
package redis_pubsub
|
||||
package redis
|
||||
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"thalos/api"
|
||||
. "thalos/api/redis_common"
|
||||
|
||||
"github.com/go-redis/redismock/v8"
|
||||
"github.com/stretchr/testify/assert"
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
package redis_pubsub
|
||||
package redis
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
|
@ -6,7 +6,6 @@ import (
|
|||
"time"
|
||||
|
||||
"thalos/api"
|
||||
. "thalos/api/redis_common"
|
||||
|
||||
"github.com/go-redis/redis/v8"
|
||||
)
|
||||
|
|
@ -1,11 +1,10 @@
|
|||
package redis_pubsub
|
||||
package redis
|
||||
|
||||
import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"thalos/api"
|
||||
. "thalos/api/redis_common"
|
||||
|
||||
"github.com/alicebob/miniredis/v2"
|
||||
"github.com/go-redis/redis/v8"
|
||||
Loading…
Add table
Add a link
Reference in a new issue