Skip to content

Commit

Permalink
format imports
Browse files Browse the repository at this point in the history
  • Loading branch information
cjphaha committed Aug 5, 2022
1 parent 8d3cbe9 commit 1db16dd
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 16 deletions.
12 changes: 7 additions & 5 deletions dubbogo-cli/cmd/testGenCode/template/newApp/api/api_triple.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions dubbogo-cli/cmd/testGenCode/template/newApp/cmd/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ package main

import (
_ "dubbo-go-app/pkg/service"
)

import (
"dubbo.apache.org/dubbo-go/v3/config"
_ "dubbo.apache.org/dubbo-go/v3/imports"
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,9 @@ import (

import (
"dubbo-go-app/api"
)

import (
"dubbo.apache.org/dubbo-go/v3/common/logger"
"dubbo.apache.org/dubbo-go/v3/config"
)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ import (
"context"
)

import (
"helloworld/api"
)

import (
"dubbo.apache.org/dubbo-go/v3/common/logger"
"dubbo.apache.org/dubbo-go/v3/config"
_ "dubbo.apache.org/dubbo-go/v3/imports"

"helloworld/api"
)

var grpcGreeterImpl = new(api.GreeterClientImpl)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ import (
"context"
)

import (
"helloworld/api"
)

import (
"dubbo.apache.org/dubbo-go/v3/common/logger"
"dubbo.apache.org/dubbo-go/v3/config"
_ "dubbo.apache.org/dubbo-go/v3/imports"

"helloworld/api"
)

type GreeterProvider struct {
Expand Down
3 changes: 1 addition & 2 deletions dubbogo-cli/metadata/zookeeper/zookeeper.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,11 @@ import (
)

import (
"dubbo.apache.org/dubbo-go/v3/common"

gxzookeeper "github.com/dubbogo/gost/database/kv/zk"
)

import (
"dubbo.apache.org/dubbo-go/v3/common"
"dubbo.apache.org/dubbo-go/v3/dubbogo-cli/metadata"
)

Expand Down

0 comments on commit 1db16dd

Please sign in to comment.