...

Text file src/edge-infra.dev/pkg/sds/interlock/internal/errors/BUILD.bazel

Documentation: edge-infra.dev/pkg/sds/interlock/internal/errors

     1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2
     3go_library(
     4    name = "errors",
     5    srcs = ["errors.go"],
     6    importpath = "edge-infra.dev/pkg/sds/interlock/internal/errors",
     7    visibility = ["//visibility:public"],
     8    deps = [
     9        "@com_github_gin_gonic_gin//:gin",
    10        "@com_github_go_playground_validator_v10//:validator",
    11    ],
    12)
    13
    14go_test(
    15    name = "errors_test",
    16    srcs = ["errors_test.go"],
    17    embed = [":errors"],
    18    deps = [
    19        "@com_github_go_playground_validator_v10//:validator",
    20        "@com_github_stretchr_testify//assert",
    21    ],
    22)

View as plain text