feat: rename module from tal-tech to zeromicro (#1413)
This commit is contained in:
@@ -5,7 +5,7 @@ import (
|
||||
"runtime"
|
||||
"strconv"
|
||||
|
||||
"github.com/tal-tech/go-zero/core/rescue"
|
||||
"github.com/zeromicro/go-zero/core/rescue"
|
||||
)
|
||||
|
||||
// GoSafe runs the given fn using another goroutine, recovers if fn panics.
|
||||
|
||||
@@ -6,7 +6,7 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/tal-tech/go-zero/core/lang"
|
||||
"github.com/zeromicro/go-zero/core/lang"
|
||||
)
|
||||
|
||||
func TestRoutineId(t *testing.T) {
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
package threading
|
||||
|
||||
import (
|
||||
"github.com/tal-tech/go-zero/core/lang"
|
||||
"github.com/tal-tech/go-zero/core/rescue"
|
||||
"github.com/zeromicro/go-zero/core/lang"
|
||||
"github.com/zeromicro/go-zero/core/rescue"
|
||||
)
|
||||
|
||||
// A TaskRunner is used to control the concurrency of goroutines.
|
||||
|
||||
@@ -7,7 +7,7 @@ import (
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/tal-tech/go-zero/core/lang"
|
||||
"github.com/zeromicro/go-zero/core/lang"
|
||||
)
|
||||
|
||||
func TestWorkerGroup(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user