Rule | Description |
---|---|
gogo_proto_repositories | Load WORKSPACE dependencies. |
gogo_proto_compile | Generate protobuf source files. |
gogo_proto_library | Generate and compiles protobuf source files. |
Enable C# support by loading the dependencies in your workspace.
IMPORTANT: This should occur after loading rules_go. In particular, your version of rules_go must be a recent one that includes gazelle support and the
new_go_repository
rule.
load("@org_pubref_rules_protobuf//gogo:rules.bzl", "gogo_proto_repositories")
gogo_proto_repositories()
Usage is identical to [../go], just substitute gogo
for go
.
Gogo is just an alternative
protobuf implementation.