Skip to content

Commit

Permalink
Relative path to rpc enttiies
Browse files Browse the repository at this point in the history
  • Loading branch information
warmans committed Dec 21, 2017
1 parent a450e5c commit 0e1f743
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions examples/server/a_bit_of_everything.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"github.com/golang/glog"
"github.com/golang/protobuf/ptypes/duration"
"github.com/golang/protobuf/ptypes/empty"
examples "github.com/grpc-ecosystem/grpc-gateway/examples/examplepb"
examples "../examplepb"
"github.com/grpc-ecosystem/grpc-gateway/examples/sub"
"github.com/grpc-ecosystem/grpc-gateway/examples/sub2"
"github.com/rogpeppe/fastuuid"
Expand All @@ -17,7 +17,6 @@ import (
"google.golang.org/grpc/codes"
"google.golang.org/grpc/metadata"
"google.golang.org/grpc/status"
"github.com/warmans/grpc-gateway/examples/examplepb"
)

// Implements of ABitOfEverythingServiceServer
Expand Down Expand Up @@ -248,6 +247,6 @@ func (s *_ABitOfEverythingServer) Timeout(ctx context.Context, msg *empty.Empty)
}
}

func (s *_ABitOfEverythingServer) GetMessageWithBody(context.Context, *examplepb.MessageWithBody) (*empty.Empty, error) {
func (s *_ABitOfEverythingServer) GetMessageWithBody(ctx context.Context, body *examples.MessageWithBody) (*empty.Empty, error) {
return &empty.Empty{}, nil
}

0 comments on commit 0e1f743

Please sign in to comment.