update package reference

This commit is contained in:
kevin
2020-08-08 16:40:10 +08:00
parent d19d25c72f
commit 0a7e0cce77
377 changed files with 881 additions and 1423 deletions

View File

@@ -1,5 +1,5 @@
package kv
import "zero/core/stores/internal"
import "github.com/tal-tech/go-zero/core/stores/internal"
type KvConf = internal.ClusterConf

View File

@@ -4,10 +4,10 @@ import (
"errors"
"log"
"zero/core/errorx"
"zero/core/hash"
"zero/core/stores/internal"
"zero/core/stores/redis"
"github.com/tal-tech/go-zero/core/errorx"
"github.com/tal-tech/go-zero/core/hash"
"github.com/tal-tech/go-zero/core/stores/internal"
"github.com/tal-tech/go-zero/core/stores/redis"
)
var ErrNoRedisNode = errors.New("no redis node")

View File

@@ -4,12 +4,11 @@ import (
"testing"
"time"
"zero/core/stores/internal"
"zero/core/stores/redis"
"zero/core/stringx"
"github.com/alicebob/miniredis"
"github.com/stretchr/testify/assert"
"github.com/tal-tech/go-zero/core/stores/internal"
"github.com/tal-tech/go-zero/core/stores/redis"
"github.com/tal-tech/go-zero/core/stringx"
)
var s1, _ = miniredis.Run()