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,9 +6,9 @@ import (
"fmt"
"time"
"zero/core/discov"
"zero/example/rpc/remote/unary"
"zero/rpcx"
"github.com/tal-tech/go-zero/core/discov"
"github.com/tal-tech/go-zero/example/rpc/remote/unary"
"github.com/tal-tech/go-zero/rpcx"
)
const timeFormat = "15:04:05"

View File

@@ -5,9 +5,9 @@ import (
"fmt"
"time"
"zero/core/discov"
"zero/example/rpc/remote/unary"
"zero/rpcx"
"github.com/tal-tech/go-zero/core/discov"
"github.com/tal-tech/go-zero/example/rpc/remote/unary"
"github.com/tal-tech/go-zero/rpcx"
)
func main() {

View File

@@ -6,9 +6,9 @@ import (
"fmt"
"log"
"zero/core/discov"
"zero/example/rpc/remote/stream"
"zero/rpcx"
"github.com/tal-tech/go-zero/core/discov"
"github.com/tal-tech/go-zero/example/rpc/remote/stream"
"github.com/tal-tech/go-zero/rpcx"
)
const name = "kevin"

View File

@@ -6,9 +6,9 @@ import (
"fmt"
"time"
"zero/core/conf"
"zero/example/rpc/remote/unary"
"zero/rpcx"
"github.com/tal-tech/go-zero/core/conf"
"github.com/tal-tech/go-zero/example/rpc/remote/unary"
"github.com/tal-tech/go-zero/rpcx"
)
var configFile = flag.String("f", "config.json", "the config file")

View File

@@ -4,10 +4,10 @@ import (
"context"
"flag"
"zero/core/logx"
"zero/core/service"
"zero/example/rpc/remote/unary"
"zero/rpcx"
"github.com/tal-tech/go-zero/core/logx"
"github.com/tal-tech/go-zero/core/service"
"github.com/tal-tech/go-zero/example/rpc/remote/unary"
"github.com/tal-tech/go-zero/rpcx"
"google.golang.org/grpc"
)

View File

@@ -14,13 +14,13 @@ It has these top-level messages:
*/
package stream
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import (
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
"fmt"
"math"
"github.com/golang/protobuf/proto"
"golang.org/x/net/context"
"google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.

View File

@@ -14,13 +14,13 @@ It has these top-level messages:
*/
package unary
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import (
context "golang.org/x/net/context"
grpc "google.golang.org/grpc"
"fmt"
"math"
"github.com/golang/protobuf/proto"
"golang.org/x/net/context"
"google.golang.org/grpc"
)
// Reference imports to suppress errors if they are not otherwise used.

View File

@@ -4,9 +4,9 @@ import (
"fmt"
"io"
"zero/core/conf"
"zero/example/rpc/remote/stream"
"zero/rpcx"
"github.com/tal-tech/go-zero/core/conf"
"github.com/tal-tech/go-zero/example/rpc/remote/stream"
"github.com/tal-tech/go-zero/rpcx"
"google.golang.org/grpc"
)

View File

@@ -8,9 +8,9 @@ import (
"sync"
"time"
"zero/core/conf"
"zero/example/rpc/remote/unary"
"zero/rpcx"
"github.com/tal-tech/go-zero/core/conf"
"github.com/tal-tech/go-zero/example/rpc/remote/unary"
"github.com/tal-tech/go-zero/rpcx"
"google.golang.org/grpc"
)