Skip to content

Commit

Permalink
fix: fix import block
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenceLiZhixin committed Apr 3, 2021
1 parent 00ae936 commit e8bad05
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion protocol/dubbo3/dubbo3_protocol.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,13 @@ package dubbo3

import (
"fmt"
triConfig "github.com/dubbogo/triple/pkg/config"
"reflect"
"sync"
)

import (
tripleCommon "github.com/dubbogo/triple/pkg/common"
triConfig "github.com/dubbogo/triple/pkg/config"
"github.com/dubbogo/triple/pkg/triple"
"google.golang.org/grpc"
)
Expand Down
8 changes: 7 additions & 1 deletion protocol/dubbo3/internal/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,16 @@ package internal

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

import (
"github.com/dubbogo/triple/pkg/triple"
)

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

func init() {
config.SetConsumerService(&GrpcGreeterImpl{})
}
Expand Down
5 changes: 4 additions & 1 deletion protocol/dubbo3/internal/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@ package internal

import (
"context"
"log"
)

import (
_ "github.com/apache/dubbo-go/common/proxy/proxy_factory"
"github.com/apache/dubbo-go/config"
_ "github.com/apache/dubbo-go/filter/filter_impl"
"log"
)

// server is used to implement helloworld.GreeterServer.
Expand Down
2 changes: 1 addition & 1 deletion registry/zookeeper/listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
package zookeeper

import (
gxzookeeper "github.com/dubbogo/gost/database/kv/zk"
"strings"
"sync"
)

import (
gxzookeeper "github.com/dubbogo/gost/database/kv/zk"
perrors "github.com/pkg/errors"
)

Expand Down

0 comments on commit e8bad05

Please sign in to comment.