18 lines
389 B
Python
18 lines
389 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "generic",
|
|
srcs = ["sync_map.go"],
|
|
importpath = "github.com/pingcap/tidb/util/generic",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
go_test(
|
|
name = "generic_test",
|
|
srcs = ["sync_map_test.go"],
|
|
deps = [
|
|
":generic",
|
|
"@com_github_stretchr_testify//require",
|
|
],
|
|
)
|