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

@@ -5,7 +5,7 @@ import (
"runtime"
"strconv"
"zero/core/rescue"
"github.com/tal-tech/go-zero/core/rescue"
)
func GoSafe(fn func()) {

View File

@@ -5,9 +5,8 @@ import (
"log"
"testing"
"zero/core/lang"
"github.com/stretchr/testify/assert"
"github.com/tal-tech/go-zero/core/lang"
)
func TestRoutineId(t *testing.T) {

View File

@@ -1,8 +1,8 @@
package threading
import (
"zero/core/lang"
"zero/core/rescue"
"github.com/tal-tech/go-zero/core/lang"
"github.com/tal-tech/go-zero/core/rescue"
)
type TaskRunner struct {

View File

@@ -6,9 +6,8 @@ import (
"sync"
"testing"
"zero/core/lang"
"github.com/stretchr/testify/assert"
"github.com/tal-tech/go-zero/core/lang"
)
func TestWorkerGroup(t *testing.T) {