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,7 +5,7 @@ import (
"strconv"
"time"
"zero/core/stores/redis"
"github.com/tal-tech/go-zero/core/stores/redis"
)
const (

View File

@@ -3,10 +3,9 @@ package limit
import (
"testing"
"zero/core/stores/redis"
"github.com/alicebob/miniredis"
"github.com/stretchr/testify/assert"
"github.com/tal-tech/go-zero/core/stores/redis"
)
func TestPeriodLimit_Take(t *testing.T) {

View File

@@ -7,9 +7,8 @@ import (
"sync/atomic"
"time"
"zero/core/logx"
"zero/core/stores/redis"
"github.com/tal-tech/go-zero/core/logx"
"github.com/tal-tech/go-zero/core/stores/redis"
xrate "golang.org/x/time/rate"
)

View File

@@ -4,11 +4,10 @@ import (
"testing"
"time"
"zero/core/logx"
"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/stores/redis"
)
func init() {