mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-05-16 18:16:34 +00:00

Also update golang.org/x/net and google.golang.org/grpc to fix vulnerabilities, although cloudflared is using them in a way that is not exposed to those risks
32 lines
650 B
Python
32 lines
650 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
go_library(
|
|
name = "utilities",
|
|
srcs = [
|
|
"doc.go",
|
|
"pattern.go",
|
|
"readerfactory.go",
|
|
"string_array_flag.go",
|
|
"trie.go",
|
|
],
|
|
importpath = "github.com/grpc-ecosystem/grpc-gateway/v2/utilities",
|
|
)
|
|
|
|
go_test(
|
|
name = "utilities_test",
|
|
size = "small",
|
|
srcs = [
|
|
"string_array_flag_test.go",
|
|
"trie_test.go",
|
|
],
|
|
deps = [":utilities"],
|
|
)
|
|
|
|
alias(
|
|
name = "go_default_library",
|
|
actual = ":utilities",
|
|
visibility = ["//visibility:public"],
|
|
)
|