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",
|
|
|
|
],
|
2021-09-16 17:05:58 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/container/slice",
|
2018-12-13 16:35:50 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2021-02-16 07:45:34 +00:00
|
|
|
deps = ["@com_github_prysmaticlabs_eth2_types//: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",
|
|
|
|
"@com_github_prysmaticlabs_eth2_types//:go_default_library",
|
|
|
|
],
|
2018-12-13 16:35:50 +00:00
|
|
|
)
|