Skip to content

Commit

Permalink
fix: fix side effect (apache#147)
Browse files Browse the repository at this point in the history
  • Loading branch information
EnableAsync authored Jun 27, 2021
1 parent fbabb97 commit a1da198
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 0 additions & 6 deletions general/jsonrpc/go-client/pkg/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ import (
"time"
)

import (
"dubbo.apache.org/dubbo-go/v3/config"
)



type JsonRPCUser struct {
ID string `json:"id"`
Name string `json:"name"`
Expand Down
4 changes: 4 additions & 0 deletions general/jsonrpc/go-server/cmd/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ import (
_ "dubbo.apache.org/dubbo-go/v3/registry/zookeeper"
)

import (
_ "github.com/apache/dubbo-go-samples/general/jsonrpc/go-server/pkg"
)

var (
survivalTimeout = int(3e9)
)
Expand Down

0 comments on commit a1da198

Please sign in to comment.