A gRPC version question

29 views
Skip to first unread message

Lei YiXing(北京研发中心)

unread,
Jun 29, 2017, 7:49:36 AM6/29/17
to grp...@googlegroups.com

Hello ,dear,

       Recently I am useing gRPC with golang ,but I found there are two different version and two different way to get a gRPC package (on the official website is “google.golang.org/grpc”,  on the github is “github.com/grpc-go”) . So could you tell me which version and download-way I need use ?

Look forward to your soonest reply.

Best Regards

                                                                                                                       Ethan Lei

Jeff Mendoza

unread,
Jun 29, 2017, 11:43:26 AM6/29/17
to Lei YiXing(北京研发中心), grp...@googlegroups.com
Hi, it should be "go get google.golang.org/grpc", see
https://github.com/grpc/grpc-go#installation.

In your code, you will import as ""google.golang.org/grpc"" as well,
see: https://github.com/grpc/grpc-go/blob/master/examples/helloworld/greeter_client/main.go#L26
> --
> 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+u...@googlegroups.com.
> To post to this group, send email to grp...@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/90F90AAF-EC34-40A5-80D2-5B9069079EC8%40sohu-inc.com.
> For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages