2023-07-31 17:32:39 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"errors.go",
|
|
|
|
"reader.go",
|
|
|
|
"writer.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/network/http",
|
|
|
|
visibility = ["//visibility:public"],
|
2023-07-26 16:46:49 +00:00
|
|
|
deps = [
|
|
|
|
"//api:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
|
|
],
|
2023-07-31 17:32:39 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["reader_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
|
|
|
],
|
|
|
|
)
|