Files
tidb/pkg/util/prefetch/BUILD.bazel
2023-11-24 04:44:42 +00:00

18 lines
425 B
Python

load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "prefetch",
srcs = ["reader.go"],
importpath = "github.com/pingcap/tidb/pkg/util/prefetch",
visibility = ["//visibility:public"],
)
go_test(
name = "prefetch_test",
timeout = "short",
srcs = ["reader_test.go"],
embed = [":prefetch"],
flaky = True,
deps = ["@com_github_stretchr_testify//require"],
)