rules-proto-grpc / rules_proto_grpc

Bazel rules for building Protobuf and gRPC code and libraries from proto_library targets
https://rules-proto-grpc.com
Apache License 2.0
249 stars 156 forks source link

Update the docs for Go bzlmod (and gazelle) #311

Closed udf2457 closed 4 weeks ago

udf2457 commented 6 months ago

Description

I have been struggling to get bazel to compile protobuf files for me into Go.

299 suggests that unlike certain others, you have bzlmod support, which is good.

However the example project referred to in the docs https://github.com/rules-proto-grpc/rules_proto_grpc/tree/master/examples/go/go_proto_compile is based around WORKSPACE and doesn't use gazelle either.

It would be nice if you could update the docs/example to provide a more current (i.e. bzlmod) and real-world (i.e. gazelle) example.

Thank you.

aaliddell commented 6 months ago