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

@@ -6,9 +6,9 @@ import (
"sync/atomic"
"time"
"zero/core/logx"
"zero/core/mathx"
"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/syncx"
)
const (

View File

@@ -4,7 +4,7 @@ import (
"sync"
"time"
"zero/core/timex"
"github.com/tal-tech/go-zero/core/timex"
)
type (

View File

@@ -5,9 +5,8 @@ import (
"testing"
"time"
"zero/core/stringx"
"github.com/stretchr/testify/assert"
"github.com/tal-tech/go-zero/core/stringx"
)
const duration = time.Millisecond * 50

View File

@@ -3,9 +3,8 @@ package collection
import (
"testing"
"zero/core/stringx"
"github.com/stretchr/testify/assert"
"github.com/tal-tech/go-zero/core/stringx"
)
func TestSafeMap(t *testing.T) {

View File

@@ -1,8 +1,8 @@
package collection
import (
"zero/core/lang"
"zero/core/logx"
"github.com/tal-tech/go-zero/core/lang"
"github.com/tal-tech/go-zero/core/logx"
)
const (

View File

@@ -5,9 +5,9 @@ import (
"fmt"
"time"
"zero/core/lang"
"zero/core/threading"
"zero/core/timex"
"github.com/tal-tech/go-zero/core/lang"
"github.com/tal-tech/go-zero/core/threading"
"github.com/tal-tech/go-zero/core/timex"
)
const drainWorkers = 8

View File

@@ -7,12 +7,11 @@ import (
"testing"
"time"
"zero/core/lang"
"zero/core/stringx"
"zero/core/syncx"
"zero/core/timex"
"github.com/stretchr/testify/assert"
"github.com/tal-tech/go-zero/core/lang"
"github.com/tal-tech/go-zero/core/stringx"
"github.com/tal-tech/go-zero/core/syncx"
"github.com/tal-tech/go-zero/core/timex"
)
const (