googleapis / googleapis/gapic-generator-go
gapic: refactor plugins to Go Protobuf v2 plugin API
Open
type: feature request
- Dominant language
- Go
- Stars
- 305
- Forks
- 60
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 13
Description
Recently, the `v2` of the Go Protobuf API was released, that included improvements to the protoc plugin API. We should upgrade and refactor the Go micro-generator to use google.golang.org/protobuf/compiler/protogen ([godoc](https://pkg.go.dev/google.golang.org/protobuf/compiler/protogen)). This could significantly reduce the amount of hand-spun utility code in the Go micro-generator.
This would also probably mean significant changes to all three generators: `gengapic`, `gencli`, `gensample`.
Contributor guide
Assessment
This issue has not been assessed yet.