Try updating protoc-gen-go version to latest.

On Monday, 11 May 2020 20:22:17 UTC+5:30, Serguei Bezverkhi wrote:
>
> Hello,
>
> When blah.proto file gets converted into blah.pb.go it automatically adds 
> import statement for: github.com/golang/protobuf/proto
>
> that generates en error in the staticheck:
>
> blah.pb.go:8:2: package github.com/golang/protobuf/proto is deprecated: 
> Use the "google.golang.org/protobuf/proto" package instead. (SA1019)
>
> I was wondering if there is a way to force go plugin to import a new 
> package.
>
> Thank you
> Serguei
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" 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/protobuf/c42a78dc-fe43-4152-ac1f-93dcbd15e454%40googlegroups.com.

Reply via email to