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

@@ -8,8 +8,8 @@ import (
"sync"
"time"
"zero/core/lang"
"zero/core/threading"
"github.com/tal-tech/go-zero/core/lang"
"github.com/tal-tech/go-zero/core/threading"
"gopkg.in/cheggaaa/pb.v1"
)

View File

@@ -5,11 +5,11 @@ import (
"runtime"
"time"
"zero/core/logx"
"zero/core/service"
"zero/core/stat"
"zero/core/syncx"
"zero/rest"
"github.com/tal-tech/go-zero/core/logx"
"github.com/tal-tech/go-zero/core/service"
"github.com/tal-tech/go-zero/core/stat"
"github.com/tal-tech/go-zero/core/syncx"
"github.com/tal-tech/go-zero/rest"
)
func main() {

View File

@@ -4,7 +4,7 @@ import (
"fmt"
"log"
"zero/core/codec"
"github.com/tal-tech/go-zero/core/codec"
)
const (

View File

@@ -4,10 +4,10 @@ import (
"flag"
"net/http"
"zero/core/logx"
"zero/core/service"
"zero/rest"
"zero/rest/httpx"
"github.com/tal-tech/go-zero/core/logx"
"github.com/tal-tech/go-zero/core/service"
"github.com/tal-tech/go-zero/rest"
"github.com/tal-tech/go-zero/rest/httpx"
)
var (

View File

@@ -5,10 +5,10 @@ import (
"fmt"
"net/http"
"zero/core/logx"
"zero/core/service"
"zero/rest"
"zero/rest/httpx"
"github.com/tal-tech/go-zero/core/logx"
"github.com/tal-tech/go-zero/core/service"
"github.com/tal-tech/go-zero/rest"
"github.com/tal-tech/go-zero/rest/httpx"
)
var (

View File

@@ -6,10 +6,10 @@ import (
"net/http"
"time"
"zero/core/logx"
"zero/core/service"
"zero/rest"
"zero/rest/httpx"
"github.com/tal-tech/go-zero/core/logx"
"github.com/tal-tech/go-zero/core/service"
"github.com/tal-tech/go-zero/rest"
"github.com/tal-tech/go-zero/rest/httpx"
)
var (

View File

@@ -15,7 +15,7 @@ import (
"strings"
"time"
"zero/core/codec"
"github.com/tal-tech/go-zero/core/codec"
)
const pubKey = `-----BEGIN PUBLIC KEY-----

View File

@@ -5,10 +5,10 @@ import (
"io"
"net/http"
"zero/core/logx"
"zero/core/service"
"zero/rest"
"zero/rest/httpx"
"github.com/tal-tech/go-zero/core/logx"
"github.com/tal-tech/go-zero/core/service"
"github.com/tal-tech/go-zero/rest"
"github.com/tal-tech/go-zero/rest/httpx"
)
var keyPem = flag.String("prikey", "private.pem", "the private key file")