Merge pull request #323 from iamqizhao/master
rename proto for route_guide example
This commit is contained in:
@ -46,7 +46,7 @@ import (
|
|||||||
"golang.org/x/net/context"
|
"golang.org/x/net/context"
|
||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
"google.golang.org/grpc/credentials"
|
"google.golang.org/grpc/credentials"
|
||||||
pb "google.golang.org/grpc/examples/route_guide/proto"
|
pb "google.golang.org/grpc/examples/route_guide/routeguide"
|
||||||
"google.golang.org/grpc/grpclog"
|
"google.golang.org/grpc/grpclog"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ It has these top-level messages:
|
|||||||
RouteNote
|
RouteNote
|
||||||
RouteSummary
|
RouteSummary
|
||||||
*/
|
*/
|
||||||
package proto
|
package routeguide
|
||||||
|
|
||||||
import proto1 "github.com/golang/protobuf/proto"
|
import proto1 "github.com/golang/protobuf/proto"
|
||||||
|
|
@ -29,7 +29,7 @@
|
|||||||
|
|
||||||
syntax = "proto3";
|
syntax = "proto3";
|
||||||
|
|
||||||
package proto;
|
package routeguide;
|
||||||
|
|
||||||
// Interface exported by the server.
|
// Interface exported by the server.
|
||||||
service RouteGuide {
|
service RouteGuide {
|
@ -55,7 +55,7 @@ import (
|
|||||||
|
|
||||||
"github.com/golang/protobuf/proto"
|
"github.com/golang/protobuf/proto"
|
||||||
|
|
||||||
pb "google.golang.org/grpc/examples/route_guide/proto"
|
pb "google.golang.org/grpc/examples/route_guide/routeguide"
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
|
Reference in New Issue
Block a user