2019-01-15 06:32:05 -08:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
2020-03-09 07:27:19 -07:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
2019-01-15 06:32:05 -08:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"compile.go",
|
|
|
|
"parse.go",
|
|
|
|
"types.go",
|
|
|
|
],
|
2020-04-23 03:17:08 -07:00
|
|
|
importpath = "github.com/grpc-ecosystem/grpc-gateway/protoc-gen-grpc-gateway/httprule",
|
2019-01-15 06:32:05 -08:00
|
|
|
deps = [
|
|
|
|
"//utilities:go_default_library",
|
|
|
|
"@com_github_golang_glog//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
size = "small",
|
|
|
|
srcs = [
|
|
|
|
"compile_test.go",
|
|
|
|
"parse_test.go",
|
|
|
|
"types_test.go",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//utilities:go_default_library",
|
|
|
|
"@com_github_golang_glog//:go_default_library",
|
|
|
|
],
|
|
|
|
)
|