googleapis / googleapis/gapic-generator-go

gapic: refactor plugins to Go Protobuf v2 plugin API

Open
#348 4 comments 4 reactions 1 assignee Claimed by @noahdietz View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.