github.com/prysmaticlabs/prysm@v1.4.4/shared/logutil/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 = [ 6 "logutil.go", 7 "stream.go", 8 ], 9 importpath = "github.com/prysmaticlabs/prysm/shared/logutil", 10 visibility = ["//visibility:public"], 11 deps = [ 12 "//shared/event:go_default_library", 13 "//shared/params:go_default_library", 14 "//shared/rand:go_default_library", 15 "@com_github_hashicorp_golang_lru//:go_default_library", 16 "@com_github_sirupsen_logrus//:go_default_library", 17 ], 18 ) 19 20 go_test( 21 name = "go_default_test", 22 srcs = [ 23 "logutil_test.go", 24 "stream_test.go", 25 ], 26 embed = [":go_default_library"], 27 deps = ["//shared/testutil/require:go_default_library"], 28 )