github.com/prysmaticlabs/prysm@v1.4.4/shared/messagehandler/BUILD.bazel (about) 1 load("@prysm//tools/go:def.bzl", "go_library", "go_test") 2 3 go_library( 4 name = "go_default_library", 5 srcs = ["messagehandler.go"], 6 importpath = "github.com/prysmaticlabs/prysm/shared/messagehandler", 7 visibility = ["//visibility:public"], 8 deps = [ 9 "@com_github_libp2p_go_libp2p_pubsub//:go_default_library", 10 "@com_github_sirupsen_logrus//:go_default_library", 11 "@io_opencensus_go//trace:go_default_library", 12 ], 13 ) 14 15 go_test( 16 name = "go_default_test", 17 size = "small", 18 srcs = ["messagehandler_test.go"], 19 deps = [ 20 ":go_default_library", 21 "//shared/testutil/require:go_default_library", 22 "@com_github_libp2p_go_libp2p_pubsub//:go_default_library", 23 "@com_github_sirupsen_logrus//hooks/test:go_default_library", 24 ], 25 )