protobuf-go/compiler/protogen
Joe Tsai ab0ca4ff8a compiler/protogen: use consistent options pattern
Throughout the module options usually expressed as a struct where the
acting function is a method hanging off the options type.
Use this pattern for protogen as well.

Change-Id: I533a61387cb74971e4efc9313d400b66b8aac451
Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/221424
Reviewed-by: Damien Neil <dneil@google.com>
2020-02-28 23:03:10 +00:00
..
protogen_test.go compiler/protogen: use consistent options pattern 2020-02-28 23:03:10 +00:00
protogen.go compiler/protogen: use consistent options pattern 2020-02-28 23:03:10 +00:00