github.com/grpc-ecosystem/grpc-gateway/v2@v2.19.1/internal/httprule/BUILD.bazel (about)

     1  load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2  
     3  package(default_visibility = ["//visibility:public"])
     4  
     5  go_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  
    16  go_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  
    31  alias(
    32      name = "go_default_library",
    33      actual = ":httprule",
    34      visibility = ["//:__subpackages__"],
    35  )