update package reference
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -3,7 +3,7 @@ package syncx
|
||||
import (
|
||||
"sync"
|
||||
|
||||
"zero/core/lang"
|
||||
"github.com/tal-tech/go-zero/core/lang"
|
||||
)
|
||||
|
||||
type DoneChan struct {
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"zero/core/timex"
|
||||
"github.com/tal-tech/go-zero/core/timex"
|
||||
)
|
||||
|
||||
const defaultRefreshInterval = time.Second
|
||||
|
||||
@@ -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")
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"zero/core/timex"
|
||||
"github.com/tal-tech/go-zero/core/timex"
|
||||
)
|
||||
|
||||
type (
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -4,7 +4,7 @@ import (
|
||||
"io"
|
||||
"sync"
|
||||
|
||||
"zero/core/errorx"
|
||||
"github.com/tal-tech/go-zero/core/errorx"
|
||||
)
|
||||
|
||||
type ResourceManager struct {
|
||||
|
||||
Reference in New Issue
Block a user