For go, you must enable the grpc plugin. This is done via prefix to the --go_out parameter:
protoc --go_out=*plugins=grpc:*. grpc_tester.proto ---- *Josh Humphries* jh...@bluegosling.com On Thu, Jan 4, 2018 at 2:52 PM, Amandeep Gautam <amandeepgaut...@gmail.com> wrote: > I am trying to write a grpc server in go but am unable get the generated > client and server stub in the file generated by plugin. > Here is the paste of the file generated: https://pastebin.com/kfi99MxK > > From what I have researched, it is because of faulty protobuf installation > but I am not sure what is exactly wrong and how to debug the root cause. > > Any help is appreciated. > > -- > You received this message because you are subscribed to the Google Groups " > grpc.io" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to grpc-io+unsubscr...@googlegroups.com. > To post to this group, send email to grpc-io@googlegroups.com. > Visit this group at https://groups.google.com/group/grpc-io. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/grpc-io/7af9bed0-85f9-400e-bd4e-ce65655ed465%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/7af9bed0-85f9-400e-bd4e-ce65655ed465%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegroups.com. To post to this group, send email to grpc-io@googlegroups.com. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CAO78j%2BK8DpU095kjBx9O%3D6DKfN54tm0qd2ppWFkBXQMr%3DJMipw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.