2021-06-30 19:22:09 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2019-07-25 19:45:31 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["pagination.go"],
|
2023-03-17 18:52:56 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/api/pagination",
|
2019-07-25 19:45:31 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2019-08-02 02:27:38 +00:00
|
|
|
deps = [
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2019-08-02 02:27:38 +00:00
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
|
|
],
|
2019-07-25 19:45:31 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["pagination_test.go"],
|
2020-10-01 14:38:53 +00:00
|
|
|
deps = [
|
2021-03-12 00:03:19 +00:00
|
|
|
":go_default_library",
|
2021-09-23 18:53:46 +00:00
|
|
|
"//testing/assert:go_default_library",
|
|
|
|
"//testing/require:go_default_library",
|
2020-10-01 14:38:53 +00:00
|
|
|
],
|
2019-07-25 19:45:31 +00:00
|
|
|
)
|