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