mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-26 05:17:22 +00:00
26 lines
830 B
Python
26 lines
830 B
Python
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
||
|
|
||
|
go_library(
|
||
|
name = "go_default_library",
|
||
|
srcs = ["messagehandler.go"],
|
||
|
importpath = "github.com/prysmaticlabs/prysm/shared/messagehandler",
|
||
|
visibility = ["//visibility:public"],
|
||
|
deps = [
|
||
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
||
|
"@com_github_sirupsen_logrus//:go_default_library",
|
||
|
"@io_opencensus_go//trace:go_default_library",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "go_default_test",
|
||
|
srcs = ["messagehandler_test.go"],
|
||
|
embed = [":go_default_library"],
|
||
|
deps = [
|
||
|
"//proto/beacon/p2p/v1:go_default_library",
|
||
|
"//shared/testutil:go_default_library",
|
||
|
"@com_github_gogo_protobuf//proto:go_default_library",
|
||
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
||
|
],
|
||
|
)
|