File tree Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Expand file tree Collapse file tree 2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,15 @@ package main
3
3
import (
4
4
"context"
5
5
"fmt"
6
- clientv3 "go.etcd.io/etcd/client/v3"
7
- "google.golang.org/grpc"
8
- "google.golang.org/grpc/resolver"
9
- "learning_tools/hlb-grpc/discovery"
10
- "learning_tools/hlb-grpc/example/api"
11
6
"log"
12
7
"testing"
13
8
"time"
9
+
10
+ "github.com/hwholiday/learning_tools/hlb-grpc/discovery"
11
+ "github.com/hwholiday/learning_tools/hlb-grpc/example/api"
12
+ clientv3 "go.etcd.io/etcd/client/v3"
13
+ "google.golang.org/grpc"
14
+ "google.golang.org/grpc/resolver"
14
15
)
15
16
16
17
func TestClient (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -3,16 +3,17 @@ package main
3
3
import (
4
4
"context"
5
5
"fmt"
6
- clientv3 "go.etcd.io/etcd/client/v3"
7
- "google.golang.org/grpc"
8
- "learning_tools/hlb-grpc/example/api"
9
- "learning_tools/hlb-grpc/register"
10
6
"log"
11
7
"net"
12
8
"os"
13
9
"os/signal"
14
10
"syscall"
15
11
"time"
12
+
13
+ "github.com/hwholiday/learning_tools/hlb-grpc/example/api"
14
+ "github.com/hwholiday/learning_tools/hlb-grpc/register"
15
+ clientv3 "go.etcd.io/etcd/client/v3"
16
+ "google.golang.org/grpc"
16
17
)
17
18
18
19
type ApiService struct {}
You can’t perform that action at this time.
0 commit comments