bazelbuild / rules_go

Go rules for Bazel
Apache License 2.0
1.35k stars 635 forks source link

Document the `suffixes` attribute of `go_proto_compiler` #3970

Open leskin-in opened 1 week ago

leskin-in commented 1 week ago

What type of PR is this?

Documentation

What does this PR do? Why is it needed?

go_proto_compiler supports not only the suffix attribute, defining a single output file's suffix, but also the suffixes attribute, enabling the developers to use protoc plugins generating multiple output files for a single .proto file.

Document this previously undocumented attribute.

See the implementation of this attribute in go_proto_compiler.

google-cla[bot] commented 1 week ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.