protoc-gen-gotemplate icon indicating copy to clipboard operation
protoc-gen-gotemplate copied to clipboard

Deprecation notice for github.com/golang/protobuf/protoc-gen-go/generator

Open zachfi opened this issue 4 years ago • 4 comments

When compiling the protobufs, I see the following message displayed. I looked briefly, but I can't tell if there is a replacement package for this.

WARNING: Package "github.com/golang/protobuf/protoc-gen-go/generator" is deprecated.
	A future release of golang/protobuf will delete this package,
	which has long been excluded from the compatibility promise.

zachfi avatar Aug 16 '20 02:08 zachfi

@moul do you plan to fix this? I'm use never protobuf package and want to get generated stuff with never protoc with this package

vtolstov avatar Oct 15 '20 08:10 vtolstov

It looks like the API has changed, in addition to the move to google.golang.org/protobuf/compiler/protogen. Deprecation takes a while, so just ignore the warning for now?

amalone-scwx avatar Oct 17 '20 18:10 amalone-scwx

@moul a comment as to the status of this effort would be helpful here. If you're not working on it, I might like to send in a PR myself.

cosmotek avatar Dec 02 '22 16:12 cosmotek

Seeing as how we have not gotten any response from the author of this repo, I am going to fork this tool and maintain my own copy. My company currently uses this tool and requires these updates to be made.

cosmotek avatar Feb 27 '23 17:02 cosmotek