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

@@ -6,7 +6,7 @@ import (
"net/http"
"sync"
"zero/core/logx"
"github.com/tal-tech/go-zero/core/logx"
)
const LogContext = "request_logs"

View File

@@ -6,9 +6,9 @@ import (
"path"
"strings"
"zero/core/search"
"zero/rest/httpx"
"zero/rest/internal/context"
"github.com/tal-tech/go-zero/core/search"
"github.com/tal-tech/go-zero/rest/httpx"
"github.com/tal-tech/go-zero/rest/internal/context"
)
const (

View File

@@ -9,10 +9,9 @@ import (
"strings"
"testing"
"zero/rest/httpx"
"zero/rest/internal/context"
"github.com/stretchr/testify/assert"
"github.com/tal-tech/go-zero/rest/httpx"
"github.com/tal-tech/go-zero/rest/internal/context"
)
const (

View File

@@ -12,10 +12,10 @@ import (
"strings"
"time"
"zero/core/codec"
"zero/core/iox"
"zero/core/logx"
"zero/rest/httpx"
"github.com/tal-tech/go-zero/core/codec"
"github.com/tal-tech/go-zero/core/iox"
"github.com/tal-tech/go-zero/core/logx"
"github.com/tal-tech/go-zero/rest/httpx"
)
const (

View File

@@ -6,7 +6,7 @@ import (
"fmt"
"net/http"
"zero/core/proc"
"github.com/tal-tech/go-zero/core/proc"
)
func StartHttp(host string, port int, handler http.Handler) error {

View File

@@ -6,10 +6,9 @@ import (
"sync/atomic"
"time"
"zero/core/timex"
"github.com/dgrijalva/jwt-go"
"github.com/dgrijalva/jwt-go/request"
"github.com/tal-tech/go-zero/core/timex"
)
const claimHistoryResetDuration = time.Hour * 24

View File

@@ -8,8 +8,7 @@ import (
"github.com/dgrijalva/jwt-go"
"github.com/stretchr/testify/assert"
"zero/core/timex"
"github.com/tal-tech/go-zero/core/timex"
)
func TestTokenParser(t *testing.T) {