mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-09 15:37:56 -05:00
* fixing stringslice issue and adding one more filter * fixing linting and improving function based on feedback * rolling back generic function to check ci * adding function back in * testing printing error * reverting change * Added gofmt detail flag * temporary change * Another flag added * Revert changes * Modifed entrypoint * Another change * Revert * Change go image * Added -e flag * Switched to alpine image * Switched go to strech * Fix typo * Yet another image added * Added go alpine * rolling back generic * reverting version * Update go.sum reverting * Update go.mod reverting * Update Dockerfile rolling back * Update entrypoint.sh rolling back * Update go.yml reverting changes * fixing flag for config * reverting changes and moving change to another PR * Update validator/node/node.go Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> * updating based on review * Update container/slice/slice.go Co-authored-by: Taranpreet26311 <taran@prysmaticlabs.com> Co-authored-by: Preston Van Loon <preston@prysmaticlabs.com> Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
24 lines
587 B
Python
24 lines
587 B
Python
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"doc.go",
|
|
"slice.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/container/slice",
|
|
visibility = ["//visibility:public"],
|
|
deps = ["//consensus-types/primitives:go_default_library"],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
size = "small",
|
|
srcs = ["slice_test.go"],
|
|
deps = [
|
|
":go_default_library",
|
|
"//consensus-types/primitives:go_default_library",
|
|
"//testing/require:go_default_library",
|
|
],
|
|
)
|