Files
tidb/br/pkg/errors/BUILD.bazel
2022-08-02 11:10:05 +08:00

22 lines
523 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "errors",
srcs = ["errors.go"],
importpath = "github.com/pingcap/tidb/br/pkg/errors",
visibility = ["//visibility:public"],
deps = ["@com_github_pingcap_errors//:errors"],
)
go_test(
name = "errors_test",
timeout = "short",
srcs = ["errors_test.go"],
flaky = True,
deps = [
":errors",
"@com_github_pingcap_errors//:errors",
"@com_github_stretchr_testify//require",
],
)