2023-05-09 19:19:48 +02:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "httprule",
|
|
|
|
srcs = [
|
|
|
|
"compile.go",
|
|
|
|
"parse.go",
|
|
|
|
"types.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/grpc-ecosystem/grpc-gateway/v2/internal/httprule",
|
|
|
|
deps = ["//utilities"],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "httprule_test",
|
|
|
|
size = "small",
|
|
|
|
srcs = [
|
|
|
|
"compile_test.go",
|
|
|
|
"parse_test.go",
|
|
|
|
"types_test.go",
|
|
|
|
],
|
|
|
|
embed = [":httprule"],
|
|
|
|
deps = [
|
|
|
|
"//utilities",
|
2024-03-11 15:34:34 +01:00
|
|
|
"@org_golang_google_grpc//grpclog",
|
2023-05-09 19:19:48 +02:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
alias(
|
|
|
|
name = "go_default_library",
|
|
|
|
actual = ":httprule",
|
|
|
|
visibility = ["//:__subpackages__"],
|
|
|
|
)
|