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