forked from bufbuild/protoc-gen-validate
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Remove gogo support (bufbuild#340)"
This reverts commit c7c8be4.
- Loading branch information
1 parent
beba99e
commit 6783039
Showing
32 changed files
with
1,424 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
load("@io_bazel_rules_go//go:def.bzl", "go_library") | ||
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library") | ||
load("@rules_proto//proto:defs.bzl", "proto_library") | ||
|
||
go_library( | ||
name = "go_default_library", | ||
embed = [":gogoproto_go_proto"], | ||
importpath = "github.com/envoyproxy/protoc-gen-validate/gogoproto", | ||
visibility = ["//visibility:public"], | ||
) | ||
|
||
proto_library( | ||
name = "gogoproto_proto", | ||
srcs = ["gogo.proto"], | ||
visibility = ["//visibility:public"], | ||
deps = ["@com_google_protobuf//:descriptor_proto"], | ||
) | ||
|
||
go_proto_library( | ||
name = "gogoproto_go_proto", | ||
importpath = "github.com/envoyproxy/protoc-gen-validate/gogoproto", | ||
proto = ":gogoproto_proto", | ||
visibility = ["//visibility:public"], | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
This directory contains a copy of the | ||
[gogoproto](https://github.com/gogo/protobuf) annotations processed using the | ||
regular protoc golang plugin. The annotations are needed to import the protobuf | ||
descriptor declarations into the validation plugin. |
Oops, something went wrong.