fix helloworld example

This commit is contained in:
iamqizhao
2015-08-27 19:20:52 -07:00
parent 158260f5a2
commit 72a3b4a331
4 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ import (
"log"
"os"
pb "github.com/grpc/grpc-go/examples/helloworld"
pb "google.golang.org/grpc/examples/helloworld/helloworld"
"golang.org/x/net/context"
"google.golang.org/grpc"
)
@ -49,7 +49,7 @@ const (
func main() {
// Set up a connection to the server.
conn, err := grpc.Dial(address)
conn, err := grpc.Dial(address, grpc.WithInsecure())
if err != nil {
log.Fatalf("did not connect: %v", err)
}