2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2018-12-13 16:35:50 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2019-01-13 07:57:39 +00:00
|
|
|
srcs = [
|
|
|
|
"doc.go",
|
|
|
|
"slice.go",
|
|
|
|
],
|
2022-08-16 12:20:13 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v3/container/slice",
|
2018-12-13 16:35:50 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2022-04-29 14:32:11 +00:00
|
|
|
deps = ["//consensus-types/primitives:go_default_library"],
|
2018-12-13 16:35:50 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-06-30 16:00:22 +00:00
|
|
|
size = "small",
|
2019-08-14 15:27:18 +00:00
|
|
|
srcs = ["slice_test.go"],
|
2021-03-12 00:03:19 +00:00
|
|
|
deps = [
|
|
|
|
":go_default_library",
|
2022-04-29 14:32:11 +00:00
|
|
|
"//consensus-types/primitives:go_default_library",
|
2022-08-08 16:04:34 +00:00
|
|
|
"//testing/require:go_default_library",
|
2021-03-12 00:03:19 +00:00
|
|
|
],
|
2018-12-13 16:35:50 +00:00
|
|
|
)
|