As of right now, grpc is on github.com/golang/[email protected] 
<https://github.com/grpc/grpc-go/blob/8e6052a06fef1de81aadcb5ba3feed6faf6d07df/go.mod#L10>.
 
However, nothing stops you in your specific application to upgrade to 
github.com/golang/[email protected], which just a thin wrapper over the 
google.golang.org/protobuf 
<https://pkg.go.dev/mod/google.golang.org/protobuf> module. Better yet, if 
you were to start using the google.golang.org/protobuf module directly, it 
would impose a weak dependency on github.com/golang/[email protected], which 
would cause grpc to be built with the new implementation.

JT

On Monday, April 13, 2020 at 3:50:13 PM UTC-7, Ian Lance Taylor wrote:
>
> [ + joetsai ] 
>
> On Mon, Apr 13, 2020 at 3:41 PM Tharaneedharan Vilwanathan 
> <[email protected] <javascript:>> wrote: 
> > 
> > Hi, 
> > 
> > I have a quick question. 
> > 
> > I was going through this: 
> > https://blog.golang.org/protobuf-apiv2 
> > 
> > I would like to know if grpc is using this new version. To the extent I 
> tried, it seemed to use the old API. Am I right? If so, how do I make grpc 
> use the new API? Or am I missing something? 
> > 
> > Please let me know. Appreciate your help! 
> > 
> > Regards 
> > dharani 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "golang-nuts" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to [email protected] <javascript:>. 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/golang-nuts/CAN-HoC%3D0JFTTzsQ9LwxTnX3k6F9KdRWG2aAu76W6hSkkvjCzvg%40mail.gmail.com.
>  
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/4d44a034-5ab9-4656-b242-f2e386d1687a%40googlegroups.com.

Reply via email to