mirror of https://github.com/grpc/grpc-go.git
internal: cleanup remaining x/net/context (#2470)
This commit is contained in:
parent
f3eb5bc06e
commit
55ef601361
|
|
@ -16,7 +16,6 @@ For example, to enable server reflection in `example/helloworld`, we need to mak
|
||||||
--- a/examples/helloworld/greeter_server/main.go
|
--- a/examples/helloworld/greeter_server/main.go
|
||||||
+++ b/examples/helloworld/greeter_server/main.go
|
+++ b/examples/helloworld/greeter_server/main.go
|
||||||
@@ -40,6 +40,7 @@ import (
|
@@ -40,6 +40,7 @@ import (
|
||||||
"golang.org/x/net/context"
|
|
||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
pb "google.golang.org/grpc/examples/helloworld/helloworld"
|
pb "google.golang.org/grpc/examples/helloworld/helloworld"
|
||||||
+ "google.golang.org/grpc/reflection"
|
+ "google.golang.org/grpc/reflection"
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@
|
||||||
package test
|
package test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"fmt"
|
"fmt"
|
||||||
"net"
|
"net"
|
||||||
|
|
@ -26,7 +27,6 @@ import (
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"golang.org/x/net/context"
|
|
||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
"google.golang.org/grpc/codes"
|
"google.golang.org/grpc/codes"
|
||||||
"google.golang.org/grpc/connectivity"
|
"google.golang.org/grpc/connectivity"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue