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

@@ -5,9 +5,9 @@ import (
"log"
"time"
"zero/core/errorx"
"zero/core/hash"
"zero/core/syncx"
"github.com/tal-tech/go-zero/core/errorx"
"github.com/tal-tech/go-zero/core/hash"
"github.com/tal-tech/go-zero/core/syncx"
)
type (

View File

@@ -8,13 +8,12 @@ import (
"testing"
"time"
"zero/core/errorx"
"zero/core/hash"
"zero/core/stores/redis"
"zero/core/syncx"
"github.com/alicebob/miniredis"
"github.com/stretchr/testify/assert"
"github.com/tal-tech/go-zero/core/errorx"
"github.com/tal-tech/go-zero/core/hash"
"github.com/tal-tech/go-zero/core/stores/redis"
"github.com/tal-tech/go-zero/core/syncx"
)
type mockedNode struct {

View File

@@ -8,11 +8,11 @@ import (
"sync"
"time"
"zero/core/logx"
"zero/core/mathx"
"zero/core/stat"
"zero/core/stores/redis"
"zero/core/syncx"
"github.com/tal-tech/go-zero/core/logx"
"github.com/tal-tech/go-zero/core/mathx"
"github.com/tal-tech/go-zero/core/stat"
"github.com/tal-tech/go-zero/core/stores/redis"
"github.com/tal-tech/go-zero/core/syncx"
)
const (

View File

@@ -7,13 +7,12 @@ import (
"testing"
"time"
"zero/core/logx"
"zero/core/mathx"
"zero/core/stat"
"zero/core/stores/redis"
"github.com/alicebob/miniredis"
"github.com/stretchr/testify/assert"
"github.com/tal-tech/go-zero/core/logx"
"github.com/tal-tech/go-zero/core/mathx"
"github.com/tal-tech/go-zero/core/stat"
"github.com/tal-tech/go-zero/core/stores/redis"
)
func init() {

View File

@@ -4,7 +4,7 @@ import (
"sync/atomic"
"time"
"zero/core/logx"
"github.com/tal-tech/go-zero/core/logx"
)
const statInterval = time.Minute

View File

@@ -4,13 +4,13 @@ import (
"fmt"
"time"
"zero/core/collection"
"zero/core/lang"
"zero/core/logx"
"zero/core/proc"
"zero/core/stat"
"zero/core/stringx"
"zero/core/threading"
"github.com/tal-tech/go-zero/core/collection"
"github.com/tal-tech/go-zero/core/lang"
"github.com/tal-tech/go-zero/core/logx"
"github.com/tal-tech/go-zero/core/proc"
"github.com/tal-tech/go-zero/core/stat"
"github.com/tal-tech/go-zero/core/stringx"
"github.com/tal-tech/go-zero/core/threading"
)
const (

View File

@@ -1,6 +1,6 @@
package internal
import "zero/core/stores/redis"
import "github.com/tal-tech/go-zero/core/stores/redis"
type (
ClusterConf []NodeConf