...

Text file src/edge-infra.dev/pkg/edge/iam/apperror/BUILD.bazel

Documentation: edge-infra.dev/pkg/edge/iam/apperror

     1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2
     3go_library(
     4    name = "apperror",
     5    srcs = [
     6        "abort.go",
     7        "app.go",
     8        "error.go",
     9        "fosite.go",
    10        "json.go",
    11        "redirect.go",
    12        "status.go",
    13    ],
    14    importpath = "edge-infra.dev/pkg/edge/iam/apperror",
    15    visibility = ["//visibility:public"],
    16)
    17
    18go_test(
    19    name = "apperror_test",
    20    srcs = [
    21        "abort_test.go",
    22        "json_test.go",
    23        "redirect_test.go",
    24        "status_test.go",
    25    ],
    26    deps = [
    27        ":apperror",
    28        "//pkg/lib/fog",
    29        "@com_github_gin_gonic_gin//:gin",
    30        "@com_github_go_logr_logr//:logr",
    31        "@com_github_pkg_errors//:errors",
    32        "@com_github_stretchr_testify//assert",
    33    ],
    34)

View as plain text