2023-05-09 20:19:48 +03:00
|
|
|
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",
|
2023-09-07 14:20:37 +03:00
|
|
|
"string_array_flag.go",
|
2023-05-09 20:19:48 +03:00
|
|
|
"trie.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/grpc-ecosystem/grpc-gateway/v2/utilities",
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "utilities_test",
|
|
|
|
size = "small",
|
2023-09-07 14:20:37 +03:00
|
|
|
srcs = [
|
|
|
|
"string_array_flag_test.go",
|
|
|
|
"trie_test.go",
|
|
|
|
],
|
2023-05-09 20:19:48 +03:00
|
|
|
deps = [":utilities"],
|
|
|
|
)
|
|
|
|
|
|
|
|
alias(
|
|
|
|
name = "go_default_library",
|
|
|
|
actual = ":utilities",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|