mirror of
https://github.com/distribution/distribution.git
synced 2025-09-09 02:40:00 +00:00
We want to be consistent in our deps so tracking down issue does not end up in a murder mystery hunt. This commit picks a specific otel versions that are unified in this codebase. Signed-off-by: Milos Gajdos <milosthegajdos@gmail.com>
36 lines
728 B
Python
36 lines
728 B
Python
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",
|
|
"@org_golang_google_grpc//grpclog",
|
|
],
|
|
)
|
|
|
|
alias(
|
|
name = "go_default_library",
|
|
actual = ":httprule",
|
|
visibility = ["//:__subpackages__"],
|
|
)
|