feat: rename module from tal-tech to zeromicro (#1413)

This commit is contained in:
Kevin Wan
2022-01-04 15:51:32 +08:00
committed by GitHub
parent e267d94ee1
commit a91c3907a8
277 changed files with 578 additions and 578 deletions

View File

@@ -3,8 +3,8 @@ package syncx
import (
"time"
"github.com/tal-tech/go-zero/core/lang"
"github.com/tal-tech/go-zero/core/timex"
"github.com/zeromicro/go-zero/core/lang"
"github.com/zeromicro/go-zero/core/timex"
)
// A Cond is used to wait for conditions.

View File

@@ -3,7 +3,7 @@ package syncx
import (
"sync"
"github.com/tal-tech/go-zero/core/lang"
"github.com/zeromicro/go-zero/core/lang"
)
// A DoneChan is used as a channel that can be closed multiple times and wait for done.

View File

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

View File

@@ -3,7 +3,7 @@ package syncx
import (
"errors"
"github.com/tal-tech/go-zero/core/lang"
"github.com/zeromicro/go-zero/core/lang"
)
// ErrLimitReturn indicates that the more than borrowed elements were returned.

View File

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

View File

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

View File

@@ -4,7 +4,7 @@ import (
"io"
"sync"
"github.com/tal-tech/go-zero/core/errorx"
"github.com/zeromicro/go-zero/core/errorx"
)
// A ResourceManager is a manager that used to manage resources.

View File

@@ -8,7 +8,7 @@ import (
"time"
"github.com/stretchr/testify/assert"
"github.com/tal-tech/go-zero/core/lang"
"github.com/zeromicro/go-zero/core/lang"
)
func TestTryLock(t *testing.T) {