From ec01f31e1a8bb7ae9f0acb993e8d7acd2faf4a02 Mon Sep 17 00:00:00 2001 From: iamqizhao <toqizhao@gmail.com> Date: Thu, 29 Jan 2015 13:38:54 -0800 Subject: [PATCH] Fix the broken import path in the generated code --- rpc/compiler/go_generator.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/compiler/go_generator.cc b/rpc/compiler/go_generator.cc index 1f990c5b..e64c658c 100644 --- a/rpc/compiler/go_generator.cc +++ b/rpc/compiler/go_generator.cc @@ -507,7 +507,7 @@ string GetServices(const google::protobuf::FileDescriptor* file) { "\t\"io\"\n"); } printer.Print( - "\t\"github.com/google/grpc-go\"\n" + "\t\"github.com/google/grpc-go/rpc\"\n" "\tcontext \"golang.org/x/net/context\"\n" "\tproto \"github.com/golang/protobuf/proto\"\n" ")\n\n");