2021-06-30 14:22:09 -05: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 15:18:15 -06:00
|
|
|
srcs = [
|
2021-09-18 12:26:11 -05:00
|
|
|
"debounce.go",
|
|
|
|
"every.go",
|
2020-11-03 15:18:15 -06:00
|
|
|
"multilock.go",
|
|
|
|
"scatter.go",
|
|
|
|
],
|
2023-03-17 11:52:56 -07:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/async",
|
2019-11-03 21:25:52 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2021-09-18 12:26:11 -05: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 12:26:11 -05:00
|
|
|
"debounce_test.go",
|
|
|
|
"every_test.go",
|
2020-11-03 15:18:15 -06:00
|
|
|
"multilock_test.go",
|
2019-11-03 21:25:52 +00:00
|
|
|
"scatter_test.go",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
2020-08-25 03:18:29 -07:00
|
|
|
deps = [
|
2021-09-23 13:53:46 -05:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
"//testing/util:go_default_library",
|
2020-08-25 03:18:29 -07:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2020-11-03 15:18:15 -06:00
|
|
|
"@com_github_stretchr_testify//assert:go_default_library",
|
2020-08-25 03:18:29 -07:00
|
|
|
],
|
2019-11-03 21:25:52 +00:00
|
|
|
)
|