2021-06-30 14:22:09 -05:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2018-10-02 21:49:01 -04:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"feed.go",
|
|
|
|
"subscription.go",
|
|
|
|
],
|
2024-02-14 21:46:47 -08:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/async/event",
|
2018-10-02 21:49:01 -04:00
|
|
|
visibility = ["//visibility:public"],
|
2021-09-14 17:09:04 -07:00
|
|
|
deps = ["//time/mclock:go_default_library"],
|
2018-10-02 21:49:01 -04:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-06-30 12:00:22 -04:00
|
|
|
size = "small",
|
2018-10-02 21:49:01 -04:00
|
|
|
srcs = [
|
|
|
|
"example_feed_test.go",
|
|
|
|
"example_scope_test.go",
|
|
|
|
"example_subscription_test.go",
|
|
|
|
"feed_test.go",
|
|
|
|
"subscription_test.go",
|
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
2020-08-25 18:23:06 +03:00
|
|
|
deps = [
|
2021-09-23 13:53:46 -05:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2020-08-25 18:23:06 +03:00
|
|
|
],
|
2018-10-02 21:49:01 -04:00
|
|
|
)
|