Skip to content
Snippets Groups Projects
Commit 2165ccd1 authored by LaurenceLiZhixin's avatar LaurenceLiZhixin
Browse files

fix: fix import block

parent c9792230
No related branches found
No related tags found
No related merge requests found
...@@ -18,13 +18,13 @@ package dubbo3 ...@@ -18,13 +18,13 @@ package dubbo3
import ( import (
"fmt" "fmt"
triConfig "github.com/dubbogo/triple/pkg/config"
"reflect" "reflect"
"sync" "sync"
) )
import ( import (
tripleCommon "github.com/dubbogo/triple/pkg/common" tripleCommon "github.com/dubbogo/triple/pkg/common"
triConfig "github.com/dubbogo/triple/pkg/config"
"github.com/dubbogo/triple/pkg/triple" "github.com/dubbogo/triple/pkg/triple"
"google.golang.org/grpc" "google.golang.org/grpc"
) )
......
...@@ -19,10 +19,16 @@ package internal ...@@ -19,10 +19,16 @@ package internal
import ( import (
"context" "context"
"github.com/apache/dubbo-go/config" )
import (
"github.com/dubbogo/triple/pkg/triple" "github.com/dubbogo/triple/pkg/triple"
) )
import (
"github.com/apache/dubbo-go/config"
)
func init() { func init() {
config.SetConsumerService(&GrpcGreeterImpl{}) config.SetConsumerService(&GrpcGreeterImpl{})
} }
......
...@@ -19,10 +19,13 @@ package internal ...@@ -19,10 +19,13 @@ package internal
import ( import (
"context" "context"
"log"
)
import (
_ "github.com/apache/dubbo-go/common/proxy/proxy_factory" _ "github.com/apache/dubbo-go/common/proxy/proxy_factory"
"github.com/apache/dubbo-go/config" "github.com/apache/dubbo-go/config"
_ "github.com/apache/dubbo-go/filter/filter_impl" _ "github.com/apache/dubbo-go/filter/filter_impl"
"log"
) )
// server is used to implement helloworld.GreeterServer. // server is used to implement helloworld.GreeterServer.
......
...@@ -18,12 +18,12 @@ ...@@ -18,12 +18,12 @@
package zookeeper package zookeeper
import ( import (
gxzookeeper "github.com/dubbogo/gost/database/kv/zk"
"strings" "strings"
"sync" "sync"
) )
import ( import (
gxzookeeper "github.com/dubbogo/gost/database/kv/zk"
perrors "github.com/pkg/errors" perrors "github.com/pkg/errors"
) )
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment