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", ], )