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

@@ -3,10 +3,9 @@ package mongo
import (
"time"
"zero/core/executors"
"zero/core/logx"
"github.com/globalsign/mgo"
"github.com/tal-tech/go-zero/core/executors"
"github.com/tal-tech/go-zero/core/logx"
)
const (

View File

@@ -4,11 +4,10 @@ import (
"encoding/json"
"time"
"zero/core/breaker"
"zero/core/logx"
"zero/core/timex"
"github.com/globalsign/mgo"
"github.com/tal-tech/go-zero/core/breaker"
"github.com/tal-tech/go-zero/core/logx"
"github.com/tal-tech/go-zero/core/timex"
)
const slowThreshold = time.Millisecond * 500

View File

@@ -6,8 +6,7 @@ import (
"github.com/globalsign/mgo"
"github.com/stretchr/testify/assert"
"zero/core/stringx"
"github.com/tal-tech/go-zero/core/stringx"
)
func TestKeepPromise_accept(t *testing.T) {

View File

@@ -2,9 +2,8 @@
package mongo
import (
"zero/core/breaker"
"github.com/globalsign/mgo/bson"
"github.com/tal-tech/go-zero/core/breaker"
)
type (

View File

@@ -4,13 +4,12 @@ import (
"errors"
"testing"
"zero/core/breaker"
"zero/core/stringx"
"zero/core/syncx"
"github.com/globalsign/mgo"
"github.com/golang/mock/gomock"
"github.com/stretchr/testify/assert"
"github.com/tal-tech/go-zero/core/breaker"
"github.com/tal-tech/go-zero/core/stringx"
"github.com/tal-tech/go-zero/core/syncx"
)
func TestClosableIter_Close(t *testing.T) {

View File

@@ -3,9 +3,8 @@ package mongo
import (
"time"
"zero/core/breaker"
"github.com/globalsign/mgo"
"github.com/tal-tech/go-zero/core/breaker"
)
type (

View File

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

View File

@@ -3,9 +3,8 @@ package mongo
import (
"time"
"zero/core/breaker"
"github.com/globalsign/mgo"
"github.com/tal-tech/go-zero/core/breaker"
)
type (

View File

@@ -3,10 +3,9 @@ package mongo
import (
"testing"
"zero/core/breaker"
"github.com/globalsign/mgo"
"github.com/stretchr/testify/assert"
"github.com/tal-tech/go-zero/core/breaker"
)
func Test_rejectedQuery_All(t *testing.T) {

View File

@@ -4,10 +4,9 @@ import (
"io"
"time"
"zero/core/logx"
"zero/core/syncx"
"github.com/globalsign/mgo"
"github.com/tal-tech/go-zero/core/logx"
"github.com/tal-tech/go-zero/core/syncx"
)
const (