moul / protoc-gen-gotemplate

:open_file_folder: generic protocol generator based on golang's text/template (grpc/protobuf)
https://manfred.life/protoc-gen-gotemplate
MIT License
438 stars 70 forks source link

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

Open zachfi opened 4 years ago

zachfi commented 4 years ago

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.
vtolstov commented 3 years ago

@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

amalone-scwx commented 3 years ago

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?

cosmotek commented 1 year ago

@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 commented 1 year ago

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.