You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// UnimplementedGreeterServer should be embedded to have forward compatible implementations.
type UnimplementedGreeterServer struct {
}
func (*UnimplementedGreeterServer) SayHello(context.Context, *HelloRequest) (*HelloReply, error) {
return nil, status.Errorf(codes.Unimplemented, "method SayHello not implemented")
}
Also; from this example, there are bouth a pb.go and a grpc.pb.go file?
Error when including pb.UnimplementedGreeterServer as it does not exist:
type server struct {
pb.UnimplementedGreeterServer
}
undefined: helloworld.UnimplementedGreeterServer
The text was updated successfully, but these errors were encountered:
Env:
From sample code, why is the following not generating(UnimplementedGreeterServer is missing)?:
protoc --proto_path=. --go_out=plugins=grpc:. --go_opt=paths=source_relative helloworld.proto
Also; from this example, there are bouth a
pb.go
and agrpc.pb.go
file?Error when including
pb.UnimplementedGreeterServer
as it does not exist:undefined: helloworld.UnimplementedGreeterServer
The text was updated successfully, but these errors were encountered: