2019-01-15 14:32:05 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
2020-03-09 14:27:19 +00:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
2019-01-15 14:32:05 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"doc.go",
|
|
|
|
"parse_req.go",
|
|
|
|
],
|
2020-04-23 10:17:08 +00:00
|
|
|
importpath = "github.com/grpc-ecosystem/grpc-gateway/codegenerator",
|
2019-01-15 14:32:05 +00:00
|
|
|
deps = [
|
|
|
|
"@com_github_golang_protobuf//proto:go_default_library",
|
|
|
|
"@io_bazel_rules_go//proto/wkt:compiler_plugin_go_proto",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["parse_req_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"@com_github_golang_protobuf//proto:go_default_library",
|
|
|
|
"@io_bazel_rules_go//proto/wkt:compiler_plugin_go_proto",
|
|
|
|
],
|
|
|
|
)
|