Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 1.69 KB

README.md

File metadata and controls

37 lines (29 loc) · 1.69 KB

Gogo Rules

Rule Description
gogo_proto_repositories Load WORKSPACE dependencies.
gogo_proto_compile Generate protobuf source files.
gogofast_proto_compile Generate protobuf source files.
gogofaster_proto_compile Generate protobuf source files.
gogoslick_proto_compile Generate protobuf source files.
gogo_proto_library Generates and compiles protobuf source files.
gogofast_proto_library Generates and compiles protobuf source files.
gogofaster_proto_library Generates and compiles protobuf source files.
gogoslick_proto_library Generates and compiles protobuf source files.

gogo_proto_repositories

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

Usage is identical to [../go], just substitute gogo for go. Gogo is just an alternative protobuf implementation.

For more information on the differences between the options, please see the discussion of the options starting here.