Skip to content

Commit

Permalink
fix:import block
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenceLiZhixin committed Oct 29, 2020
1 parent 198faaf commit 9b85b42
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
15 changes: 6 additions & 9 deletions general/grpc/stream/go-client/app/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,23 @@ import (
"os/signal"
"syscall"
"time"
)

_ "github.com/apache/dubbo-go/cluster/cluster_impl"
import (
gxlog "github.com/dubbogo/gost/log"
)

import (
_ "github.com/apache/dubbo-go/cluster/cluster_impl"
_ "github.com/apache/dubbo-go/cluster/loadbalance"
"github.com/apache/dubbo-go/common/logger"

_ "github.com/apache/dubbo-go/common/proxy/proxy_factory"
"github.com/apache/dubbo-go/config"

_ "github.com/apache/dubbo-go/filter/filter_impl"

_ "github.com/apache/dubbo-go/protocol/dubbo"

_ "github.com/apache/dubbo-go/protocol/grpc"

_ "github.com/apache/dubbo-go/registry/protocol"

_ "github.com/apache/dubbo-go/registry/zookeeper"

gxlog "github.com/dubbogo/gost/log"
)

var (
Expand Down
7 changes: 6 additions & 1 deletion general/grpc/stream/go-client/app/hello.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,16 @@ package main

import (
"context"
)

"github.com/apache/dubbo-go/config"
import (
"google.golang.org/grpc"
)

import (
"github.com/apache/dubbo-go/config"
)

var grpcGreeterImpl = new(GrpcGreeterImpl)

func init() {
Expand Down
2 changes: 2 additions & 0 deletions general/grpc/stream/go-server/app/greeter.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ package main

import (
"fmt"
)

import (
"github.com/apache/dubbo-go/common/logger"
"github.com/apache/dubbo-go/config"
)
Expand Down

0 comments on commit 9b85b42

Please sign in to comment.