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,8 +3,8 @@ package syncx
import (
"time"
"zero/core/lang"
"zero/core/timex"
"github.com/tal-tech/go-zero/core/lang"
"github.com/tal-tech/go-zero/core/timex"
)
type Cond struct {

View File

@@ -3,7 +3,7 @@ package syncx
import (
"sync"
"zero/core/lang"
"github.com/tal-tech/go-zero/core/lang"
)
type DoneChan struct {

View File

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

View File

@@ -3,7 +3,7 @@ package syncx
import (
"errors"
"zero/core/lang"
"github.com/tal-tech/go-zero/core/lang"
)
var ErrReturn = errors.New("discarding limited token, resource pool is full, someone returned multiple times")

View File

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

View File

@@ -6,9 +6,8 @@ import (
"testing"
"time"
"zero/core/lang"
"github.com/stretchr/testify/assert"
"github.com/tal-tech/go-zero/core/lang"
)
const limit = 10

View File

@@ -4,7 +4,7 @@ import (
"io"
"sync"
"zero/core/errorx"
"github.com/tal-tech/go-zero/core/errorx"
)
type ResourceManager struct {