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