2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2019-11-03 21:25:52 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2020-11-03 21:18:15 +00:00
|
|
|
srcs = [
|
2021-09-18 17:26:11 +00:00
|
|
|
"debounce.go",
|
|
|
|
"every.go",
|
2020-11-03 21:18:15 +00:00
|
|
|
"multilock.go",
|
|
|
|
"scatter.go",
|
|
|
|
],
|
2024-02-15 05:46:47 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/async",
|
2019-11-03 21:25:52 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2021-09-18 17:26:11 +00:00
|
|
|
deps = ["@com_github_sirupsen_logrus//:go_default_library"],
|
2019-11-03 21:25:52 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = [
|
|
|
|
"benchmark_test.go",
|
2021-09-18 17:26:11 +00:00
|
|
|
"debounce_test.go",
|
|
|
|
"every_test.go",
|
2020-11-03 21:18:15 +00:00
|
|
|
"multilock_test.go",
|
2019-11-03 21:25:52 +00:00
|
|
|
"scatter_test.go",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
2020-08-25 10:18:29 +00:00
|
|
|
deps = [
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"//testing/util:go_default_library",
|
2020-08-25 10:18:29 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2020-11-03 21:18:15 +00:00
|
|
|
"@com_github_stretchr_testify//assert:go_default_library",
|
2020-08-25 10:18:29 +00:00
|
|
|
],
|
2019-11-03 21:25:52 +00:00
|
|
|
)
|