...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3package(default_visibility = ["//visibility:public"])
4
5go_library(
6 name = "httprule",
7 srcs = [
8 "compile.go",
9 "parse.go",
10 "types.go",
11 ],
12 importpath = "github.com/grpc-ecosystem/grpc-gateway/v2/internal/httprule",
13 deps = ["//utilities"],
14)
15
16go_test(
17 name = "httprule_test",
18 size = "small",
19 srcs = [
20 "compile_test.go",
21 "parse_test.go",
22 "types_test.go",
23 ],
24 embed = [":httprule"],
25 deps = [
26 "//utilities",
27 "@org_golang_google_grpc//grpclog",
28 ],
29)
30
31alias(
32 name = "go_default_library",
33 actual = ":httprule",
34 visibility = ["//:__subpackages__"],
35)
View as plain text