Files
tidb/util/column-mapping/BUILD.bazel
2022-07-22 15:35:09 +08:00

22 lines
550 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "column-mapping",
srcs = ["column.go"],
importpath = "github.com/pingcap/tidb/util/column-mapping",
visibility = ["//visibility:public"],
deps = [
"//util/table-rule-selector",
"@com_github_pingcap_errors//:errors",
],
)
go_test(
name = "column-mapping_test",
timeout = "short",
srcs = ["column_test.go"],
embed = [":column-mapping"],
flaky = True,
deps = ["@com_github_stretchr_testify//require"],
)